From f3219c75e5e25c63696baf0b9fc94dd394c4718e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 3 Sep 2004 17:13:48 +0000 Subject: [PATCH] Index: ChangeLog 2004-09-03 Andrew Cagney * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete. * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete. * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete. * config/tm-linux.h (SVR4_SHARED_LIBS): Delete. * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete. * config/nm-linux.h (SVR4_SHARED_LIBS): Delete. * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete. * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. Index: doc/ChangeLog 2004-09-03 Andrew Cagney * gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS. --- gdb/ChangeLog | 10 ++++++++++ gdb/config/i386/nm-i386sco5.h | 1 - gdb/config/i386/tm-linux64.h | 7 ------- gdb/config/m68k/tm-linux.h | 7 ------- gdb/config/nm-gnu.h | 1 - gdb/config/nm-linux.h | 1 - gdb/config/nm-sysv4.h | 1 - gdb/config/tm-linux.h | 7 ------- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdbint.texinfo | 4 ---- gdb/sh-tdep.c | 3 --- gdb/sh64-tdep.c | 3 --- 12 files changed, 14 insertions(+), 35 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d51689..b5f1158 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2004-09-03 Andrew Cagney + * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete. + * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete. + * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete. + * config/tm-linux.h (SVR4_SHARED_LIBS): Delete. + * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete. + * config/nm-linux.h (SVR4_SHARED_LIBS): Delete. + * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete. + * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. + * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. + * configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not gdb_host_cpu. diff --git a/gdb/config/i386/nm-i386sco5.h b/gdb/config/i386/nm-i386sco5.h index 5c656b0..aa9a910 100644 --- a/gdb/config/i386/nm-i386sco5.h +++ b/gdb/config/i386/nm-i386sco5.h @@ -29,7 +29,6 @@ #include "i386/nm-i386sco.h" /* ... but it can do a lot of SVR4 type stuff too. */ -#define SVR4_SHARED_LIBS #include "solib.h" /* Pick up shared library support. */ /* SCO is unlike other SVR4 systems in that it has SVR4 style shared diff --git a/gdb/config/i386/tm-linux64.h b/gdb/config/i386/tm-linux64.h index c3ff352..1aad065 100644 --- a/gdb/config/i386/tm-linux64.h +++ b/gdb/config/i386/tm-linux64.h @@ -24,13 +24,6 @@ #ifndef TM_LINUX64_H #define TM_LINUX64_H -/* We define SVR4_SHARED_LIBS unconditionally, on the assumption that - link.h is available on all linux platforms. For I386 and SH3/4, we - hard-code the information rather than use link.h anyway (for the - benefit of cross-debugging). We may move to doing that for other - architectures as well. */ - -#define SVR4_SHARED_LIBS #include "solib.h" /* Support for shared libraries. */ #endif /* tm-linux64.h */ diff --git a/gdb/config/m68k/tm-linux.h b/gdb/config/m68k/tm-linux.h index fc191b1..7892e60 100644 --- a/gdb/config/m68k/tm-linux.h +++ b/gdb/config/m68k/tm-linux.h @@ -20,11 +20,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* We define SVR4_SHARED_LIBS unconditionally, on the assumption that - link.h is available on all linux platforms. For I386 and SH3/4, - we hard-code the information rather than use link.h anyway (for - the benefit of cross-debugging). We may move to doing that for - other architectures as well. */ - -#define SVR4_SHARED_LIBS #include "solib.h" /* Support for shared libraries. */ diff --git a/gdb/config/nm-gnu.h b/gdb/config/nm-gnu.h index bff33dd..b64af73 100644 --- a/gdb/config/nm-gnu.h +++ b/gdb/config/nm-gnu.h @@ -36,7 +36,6 @@ extern char *gnu_target_pid_to_str (int pid); #define ATTACH_NO_WAIT /* Use SVR4 style shared library support */ -#define SVR4_SHARED_LIBS #include "solib.h" #endif /* __NM_GNU_H__ */ diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h index c935524..870e40d 100644 --- a/gdb/config/nm-linux.h +++ b/gdb/config/nm-linux.h @@ -38,7 +38,6 @@ struct target_ops; style shared libraries. */ #ifdef HAVE_LINK_H -#define SVR4_SHARED_LIBS #include "solib.h" /* Support for shared libraries. */ #endif diff --git a/gdb/config/nm-sysv4.h b/gdb/config/nm-sysv4.h index efd2cf6..ca281c9 100644 --- a/gdb/config/nm-sysv4.h +++ b/gdb/config/nm-sysv4.h @@ -21,7 +21,6 @@ /* Use SVR4 style shared library support */ -#define SVR4_SHARED_LIBS #include "solib.h" /* SVR4 has /proc support, so use it instead of ptrace. */ diff --git a/gdb/config/tm-linux.h b/gdb/config/tm-linux.h index caf008a..2ee2acd 100644 --- a/gdb/config/tm-linux.h +++ b/gdb/config/tm-linux.h @@ -32,11 +32,4 @@ #include "config/tm-sysv4.h" -/* We define SVR4_SHARED_LIBS unconditionally, on the assumption that - link.h is available on all linux platforms. For I386 and SH3/4, - we hard-code the information rather than use link.h anyway (for - the benefit of cross-debugging). We may move to doing that for - other architectures as well. */ - -#define SVR4_SHARED_LIBS #include "solib.h" /* Support for shared libraries. */ diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 6832406..3df5fb2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-03 Andrew Cagney + + * gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS. + 2004-09-01 Jeff Johnston * observer.texi (solib_unloaded): New observer. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index b7d6f47..b153f92 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -4442,10 +4442,6 @@ the shell execs, and once when the program itself execs. If the actual number of traps is something other than 2, then define this macro to expand into the number expected. -@item SVR4_SHARED_LIBS -@findex SVR4_SHARED_LIBS -Define this to indicate that SVR4-style shared libraries are in use. - @item USE_PROC_FS @findex USE_PROC_FS This determines whether small routines in @file{*-tdep.c}, which diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 9cce79b..03ef25c 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1824,8 +1824,6 @@ sh_print_registers_info (struct gdbarch *gdbarch, struct ui_file *file, } } -#ifdef SVR4_SHARED_LIBS - /* Fetch (and possibly build) an appropriate link_map_offsets structure for native i386 linux targets using the struct offsets defined in link.h (but without actual reference to that file). @@ -1866,7 +1864,6 @@ sh_linux_svr4_fetch_link_map_offsets (void) return lmp; } -#endif /* SVR4_SHARED_LIBS */ static int sh_dsp_register_sim_regno (int nr) diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index 97a4681..fac6617 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -2736,8 +2736,6 @@ sh64_do_registers_info (int regnum, int fpregs) sh_compact_do_registers_info (regnum, fpregs); } -#ifdef SVR4_SHARED_LIBS - /* Fetch (and possibly build) an appropriate link_map_offsets structure for native i386 linux targets using the struct offsets defined in link.h (but without actual reference to that file). @@ -2778,7 +2776,6 @@ sh_linux_svr4_fetch_link_map_offsets (void) return lmp; } -#endif /* SVR4_SHARED_LIBS */ gdbarch_init_ftype sh64_gdbarch_init; -- 2.7.4