diff options
author | 2000-10-25 05:17:19 +0000 | |
---|---|---|
committer | 2000-10-25 05:17:19 +0000 | |
commit | 7670002174fb5a639531e162492db5f6d62c89f2 (patch) | |
tree | 1c2e44082514c82fa7a35c716555dbc1c5e23d6e | |
parent | When calling setupterm() pass in an int* for the error code so (diff) | |
download | wireguard-openbsd-7670002174fb5a639531e162492db5f6d62c89f2.tar.xz wireguard-openbsd-7670002174fb5a639531e162492db5f6d62c89f2.zip |
Add shared library awareness to powerpc gdb. Uses the "standard" SVR4 solib
support.
Ok'ed by espie and deraadt.
-rw-r--r-- | gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h b/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h index 12648bf65f7..6d64368fc49 100644 --- a/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h +++ b/gnu/usr.bin/binutils/gdb/config/powerpc/nm-obsd.h @@ -33,19 +33,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define KERNEL_U_ADDR 0 #define FETCH_INFERIOR_REGISTERS +#define SVR4_SHARED_LIBS + /* This enables functions needed by kcore-nbsd.c */ #define FETCH_KCORE_REGISTERS #define PTRACE_ARG3_TYPE char* -#if 0 #include "solib.h" /* Support for shared libraries. */ -#endif /* * fix this later */ -#if 0 #ifdef SVR4_SHARED_LIBS /* The Net- and OpenBSD link.h structure definitions have different names than the SunOS version, but the structures are very similar, @@ -158,4 +157,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define ld_2 d_sdt #endif /* SVR4_SHARED_LIBS */ -#endif diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh b/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh index 29976b851ec..011dca0ee57 100644 --- a/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh +++ b/gnu/usr.bin/binutils/gdb/config/powerpc/obsd.mh @@ -5,7 +5,7 @@ XDEPFILES= ser-tcp.o XM_CLIBS= NAT_FILE= nm-obsd.h -NATDEPFILES= ppcobsd-nat.o corelow.o infptrace.o fork-child.o core-aout.o inftarg.o #core-regset.o +NATDEPFILES= ppcobsd-nat.o corelow.o infptrace.o fork-child.o core-aout.o inftarg.o solib.o GDBSERVER_DEPFILES= |