From: Jim Kingdon Date: Tue, 27 Jul 1993 19:01:11 +0000 (+0000) Subject: * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd;p=binutils-gdb.git * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and N_GSYM functions. --- diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 5a249fb70d6..cc66a152e7b 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