summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-08 04:57:44 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-08 04:57:44 +0000
commitd3c6c882c1ac57537868bfb606624b2c61162647 (patch)
treebee580f0105c87dd1544a68fd5fff093d2de1541 /gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h
parent6ba5ae105a4cad52a2c405a768352c90df1ac6ea (diff)
correct shared libs support in sparc64 gdb; deraadt@ ok.
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h13
1 files changed, 13 insertions, 0 deletions
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 */