diff options
author | Randolph Chung <tausq@debian.org> | 2004-06-11 23:44:24 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-06-11 23:44:24 +0000 |
commit | b887c273aea58585ba34f9ff4444896e04d572a4 (patch) | |
tree | af2e14ebd626171b01042325b6b53122162f150e | |
parent | e12a46c96a5f0a76d9704f299290ff3689c07902 (diff) | |
download | gdb-b887c273aea58585ba34f9ff4444896e04d572a4.zip gdb-b887c273aea58585ba34f9ff4444896e04d572a4.tar.gz gdb-b887c273aea58585ba34f9ff4444896e04d572a4.tar.bz2 |
2004-06-11 Randolph Chung <tausq@debian.org>
* somread.c (som_symtab_read): Exclude gcc local symbols.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/somread.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e59c919..d9bf097 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 ends up in the runtime resolver, and if the trampoline has no name. Rearrange the code so that all the trampoline processing happens before diff --git a/gdb/somread.c b/gdb/somread.c index 4ffa4c1..13b5209 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -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; |