* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 27 Jul 1993 19:01:11 +0000 (19:01 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 27 Jul 1993 19:01:11 +0000 (19:01 +0000)
N_GSYM functions.

gdb/dbxread.c

index 5a249fb70d6993314b2d66222c25ff531e39eb56..cc66a152e7bda3abdeea276a0a1d6c969ba4f4a9 100644 (file)
@@ -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