aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-27 19:01:11 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-27 19:01:11 +0000
commit3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd (patch)
tree50d9c08c3bac58f35d8999c60ee8db5cd6eafac4
parente9f108bcba3a7cc75e34cb2519a5f5ba92fdb4fd (diff)
downloadgdb-3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd.zip
gdb-3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd.tar.gz
gdb-3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd.tar.bz2
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.
-rw-r--r--gdb/dbxread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 5a249fb..cc66a15 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1882,6 +1882,7 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
case 'F':
function_stab_type = type;
+#ifdef SUN_FIXED_LBRAC_BUG
/* The Sun acc compiler, under SunOS4, puts out
functions with N_GSYM or N_STSYM. The problem is
that the address of the symbol is no good (for N_GSYM
@@ -1914,7 +1915,6 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
valu = last_pc_address;
}
-#ifdef SUN_FIXED_LBRAC_BUG
last_pc_address = valu; /* Save for SunOS bug circumcision */
#endif