diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d5168914c..b5f11584e6 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 5c656b0837..aa9a910c87 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 c3ff3521ea..1aad06575c 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 fc191b1640..7892e60cc1 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 bff33dd129..b64af737d1 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 c935524723..870e40d34d 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 efd2cf6807..ca281c9295 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 caf008a9cb..2ee2acd786 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 6832406cf1..3df5fb2871 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 b7d6f4728e..b153f926d4 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 9cce79bee1..03ef25cd09 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 97a4681794..fac6617a3f 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;