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.
#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
#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 */
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. */
#define ATTACH_NO_WAIT
/* Use SVR4 style shared library support */
-#define SVR4_SHARED_LIBS
#include "solib.h"
#endif /* __NM_GNU_H__ */
style shared libraries. */
#ifdef HAVE_LINK_H
-#define SVR4_SHARED_LIBS
#include "solib.h" /* Support for shared libraries. */
#endif
\f
/* Use SVR4 style shared library support */
-#define SVR4_SHARED_LIBS
#include "solib.h"
/* SVR4 has /proc support, so use it instead of ptrace. */
#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. */
+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.
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
}
}
-#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).
return lmp;
}
-#endif /* SVR4_SHARED_LIBS */
static int
sh_dsp_register_sim_regno (int nr)
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).
return lmp;
}
-#endif /* SVR4_SHARED_LIBS */
gdbarch_init_ftype sh64_gdbarch_init;