From d3c6c882c1ac57537868bfb606624b2c61162647 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Mon, 8 Apr 2002 04:57:44 +0000 Subject: correct shared libs support in sparc64 gdb; deraadt@ ok. --- gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h | 13 +++++++++++++ gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h (limited to 'gnu/usr.bin/binutils/gdb/config/sparc') diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h b/gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h new file mode 100644 index 00000000000..cc6ec7737a4 --- /dev/null +++ b/gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h @@ -0,0 +1,13 @@ +#ifndef NM_OBSD64_H +#define NM_OBSD64_H + +#define SVR4_SHARED_LIBS + +/* Before storing, read all the registers. (see inftarg.c) */ +#define CHILD_PREPARE_TO_STORE() \ + read_register_bytes (0, NULL, REGISTER_BYTES) + +/* Get generic OpenBSD native definitions. */ +#include "nm-obsd.h" + +#endif /* NM_OBSD64_H */ diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mh b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mh index 4d9c491a907..72077d6f35e 100644 --- a/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mh +++ b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mh @@ -1,7 +1,7 @@ # Host: UltraSparc, running OpenBSD XDEPFILES= ser-tcp.o XM_FILE= xm-obsd.h -NAT_FILE= nm-obsd.h +NAT_FILE= nm-obsd64.h NAT_CLIBS= -lkvm NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o kcore-nbsd.o sp64nbsd-nat.o solib.o -- cgit v1.2.3