aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sun4sol2.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 17:53:57 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 17:53:57 +0000
commit6545c6a085d88cf4b42740ddc3a41840631b0e06 (patch)
tree680a124c3da22ae618ddbf50d4e7d900e1cd0b7d /gdb/config/sparc/tm-sun4sol2.h
parent6de495621bad70a62fee80bfbf3248a73c858a4f (diff)
downloadgdb-6545c6a085d88cf4b42740ddc3a41840631b0e06.zip
gdb-6545c6a085d88cf4b42740ddc3a41840631b0e06.tar.gz
gdb-6545c6a085d88cf4b42740ddc3a41840631b0e06.tar.bz2
* dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
if N_SO_ADDRESS_MAYBE_MISSING is defined. * config/sparc/tm-sun4sol2.h: Define it.
Diffstat (limited to 'gdb/config/sparc/tm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/tm-sun4sol2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h
index 0c3b7c1..5e3c0bc 100644
--- a/gdb/config/sparc/tm-sun4sol2.h
+++ b/gdb/config/sparc/tm-sun4sol2.h
@@ -51,3 +51,6 @@ get_longjmp_target PARAMS ((CORE_ADDR *));
#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
#endif /* 0 */
+
+/* The SunPRO compiler puts out 0 instead of the address in an N_SO symbol. */
+#define N_SO_ADDRESS_MAYBE_MISSING