2004-06-11 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Fri, 11 Jun 2004 23:44:24 +0000 (23:44 +0000)
committerRandolph Chung <tausq@debian.org>
Fri, 11 Jun 2004 23:44:24 +0000 (23:44 +0000)
* somread.c (som_symtab_read): Exclude gcc local symbols.

gdb/ChangeLog
gdb/somread.c

index e59c919ab744443c990a067b673fe192c19a2098..d9bf0975722226cf4a5b4068a14878a46ba65c47 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-11  Randolph Chung  <tausq@debian.org>
+
+       * somread.c (som_symtab_read): Exclude gcc local symbols.
+
 2004-06-11  Randolph Chung  <tausq@debian.org>
 
        * infrun.c (handle_inferior_event): Handle the case when a trampoline
index 4ffa4c1c9e4970e6d77120345ac43ebf5224c8f0..13b52092a2010be2fd03a6c9d73cf89ed5b98d84 100644 (file)
@@ -219,6 +219,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile,
              if ((symname[0] == 'L' && symname[1] == '$')
              || (symname[0] == '$' && symname[strlen (symname) - 1] == '$')
                  || (symname[0] == 'D' && symname[1] == '$')
+                 || (strncmp (symname, "L0\001", 3) == 0)
                  || (strncmp (symname, "$PIC", 4) == 0))
                continue;
              break;