summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/config/sparc/nm-obsd64.h
diff options
context:
space:
mode:
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 */