summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-04-01 15:46:06 +0000
committerfgsch <fgsch@openbsd.org>2002-04-01 15:46:06 +0000
commit42de0832df9f36a06cc9daf9fae3f5b587e245de (patch)
tree8272bf2e8c24fb2c06307b000d3a712f4dd7ee77
parentdeal with stack bias in sparc64. (diff)
downloadwireguard-openbsd-42de0832df9f36a06cc9daf9fae3f5b587e245de.tar.xz
wireguard-openbsd-42de0832df9f36a06cc9daf9fae3f5b587e245de.zip
unbreak gdb in sparc with my last commit.
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-sparc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-sparc.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sparc.h
index b42865769a6..740f192cb5a 100644
--- a/gnu/usr.bin/binutils/gdb/config/sparc/tm-sparc.h
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sparc.h
@@ -71,6 +71,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|| function_stab_type == N_STSYM \
|| function_stab_type == N_GSYM))
+#ifndef GDB_TARGET_IS_SPARC64
+#define GDB_TARGET_IS_SPARC64 0
+#endif
+
/* Offset from address of function to start of its code.
Zero on most machines. */