From 3ef0fc8c58ecbecebc4ae282c7c6927a0a1779fd Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 27 Jul 1993 19:01:11 +0000 Subject: [PATCH] * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and N_GSYM functions. --- gdb/dbxread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2