Skip to content

Commit 006811b

Browse files
committed
gdb: move ptrace.m4 to gdbsupport
ptrace.m4, providing the GDB_AC_PTRACE autoconf macro, is used by gdb, gdbserver and gdbsupport. I think it would make sense to move it to gdbsupport. gdb/ChangeLog: * acinclude.m4: Update ptrace.m4 path. * ptrace.m4: Moved to gdbsupport. gdbserver/ChangeLog: * acinclude.m4: Update ptrace.m4 path. gdbsupport/ChangeLog: * Makefile.in: Re-generate. * acinclude.m4: Update ptrace.m4 path. * ptrace.m4: Move here. Change-Id: I849c149fd5dd8c3b2b0af38654fb353e3727871b
1 parent 02855c3 commit 006811b

File tree

8 files changed

+19
-4
lines changed

8 files changed

+19
-4
lines changed

gdb/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2020-10-25 Simon Marchi <[email protected]>
2+
3+
* acinclude.m4: Update ptrace.m4 path.
4+
* ptrace.m4: Moved to gdbsupport.
5+
16
2020-10-24 Simon Marchi <[email protected]>
27

38
* symfile-mem.c (add_vsyscall_page): Use inferior parameter

gdb/acinclude.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dnl For libiberty_INIT.
7272
m4_include(libiberty.m4)
7373

7474
dnl For GDB_AC_PTRACE.
75-
m4_include(ptrace.m4)
75+
m4_include(../gdbsupport/ptrace.m4)
7676

7777
m4_include(ax_cxx_compile_stdcxx.m4)
7878

gdbserver/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2020-10-25 Simon Marchi <[email protected]>
2+
3+
* acinclude.m4: Update ptrace.m4 path.
4+
15
2020-10-24 Simon Marchi <[email protected]>
26

37
* config.in: Re-generate.

gdbserver/acinclude.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dnl For libiberty_INIT.
2727
m4_include(../gdb/libiberty.m4)
2828

2929
dnl For GDB_AC_PTRACE.
30-
m4_include(../gdb/ptrace.m4)
30+
m4_include(../gdbsupport/ptrace.m4)
3131

3232
m4_include(../gdb/ax_cxx_compile_stdcxx.m4)
3333

gdbsupport/ChangeLog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2020-10-25 Simon Marchi <[email protected]>
2+
3+
* Makefile.in: Re-generate.
4+
* acinclude.m4: Update ptrace.m4 path.
5+
* ptrace.m4: Move here.
6+
17
2020-10-08 Andrew Burgess <[email protected]>
28

39
* tdesc.h (allocate_target_description): Update return type.

gdbsupport/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \
123123
$(top_srcdir)/../config/ax_pthread.m4 \
124124
$(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \
125125
$(top_srcdir)/../gdb/libiberty.m4 $(top_srcdir)/selftest.m4 \
126-
$(top_srcdir)/../gdb/ptrace.m4 $(top_srcdir)/warning.m4 \
126+
$(top_srcdir)/ptrace.m4 $(top_srcdir)/warning.m4 \
127127
$(top_srcdir)/configure.ac
128128
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
129129
$(ACLOCAL_M4)

gdbsupport/acinclude.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ m4_include([../config/ax_pthread.m4])
44
m4_include([../gdb/ax_cxx_compile_stdcxx.m4])
55
m4_include([../gdb/libiberty.m4])
66
m4_include([selftest.m4])
7-
m4_include([../gdb/ptrace.m4])
7+
m4_include([ptrace.m4])
88

99
dnl This gets AM_GDB_WARNINGS.
1010
m4_include(warning.m4)

gdb/ptrace.m4 gdbsupport/ptrace.m4

File renamed without changes.

0 commit comments

Comments
 (0)