Index: ChangeLog

2004-09-03  Andrew Cagney  <cagney@gnu.org>

	* 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  <cagney@gnu.org>

	* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
This commit is contained in:
Andrew Cagney 2004-09-03 17:13:48 +00:00
parent b8c4aecef5
commit f3219c75e5
12 changed files with 14 additions and 35 deletions

View File

@ -1,5 +1,15 @@
2004-09-03 Andrew Cagney <cagney@gnu.org>
* 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.

View File

@ -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

View File

@ -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 */

View File

@ -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. */

View File

@ -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__ */

View File

@ -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

View File

@ -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. */

View File

@ -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. */

View File

@ -1,3 +1,7 @@
2004-09-03 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.texi (solib_unloaded): New observer.

View File

@ -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

View File

@ -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)

View File

@ -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;