projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup solib-svr4.c by moving legacy code out to its own file.
[deliverable/binutils-gdb.git]
/
gdb
/
config
/
nm-nbsd.h
diff --git
a/gdb/config/nm-nbsd.h
b/gdb/config/nm-nbsd.h
index c7c1fb5c4d2cf098dbf27762880c0b4f959df234..29112881b3eb3e015957e96753a3a42abc4b7d04 100644
(file)
--- a/
gdb/config/nm-nbsd.h
+++ b/
gdb/config/nm-nbsd.h
@@
-1,5
+1,5
@@
/* Native-dependent definitions for NetBSD.
/* Native-dependent definitions for NetBSD.
- Copyright 1994, 1996 Free Software Foundation, Inc.
+ Copyright 1994, 1996
, 1999
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-32,6
+32,11
@@
#define ATTACH_DETACH
#include "solib.h" /* Support for shared libraries. */
#define ATTACH_DETACH
#include "solib.h" /* Support for shared libraries. */
+#if defined (SVR4_SHARED_LIBS)
+#include "elf/common.h" /* Additional ELF shared library info. */
+#endif
+
+#if !defined (SVR4_SHARED_LIBS)
/* make structure definitions match up with those expected in solib.c */
#define link_object sod
/* make structure definitions match up with those expected in solib.c */
#define link_object sod
@@
-85,3
+90,5
@@
#define ldd d_debug
#define ld_un d_un
#define ld_2 d_sdt
#define ldd d_debug
#define ld_un d_un
#define ld_2 d_sdt
+
+#endif
This page took
0.024147 seconds
and
4
git commands to generate.