aboutsummaryrefslogtreecommitdiff
path: root/gdb/paread.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-01 03:44:53 +0000
committerJeff Law <law@redhat.com>1993-11-01 03:44:53 +0000
commitffb4ea6ab0372d8d1d922237a4add2180e3d674a (patch)
treefaa2839f9ce923825a80687f602326ce20715802 /gdb/paread.c
parent73edb321e3468d6504c7e27e6550cc6dc5c6c175 (diff)
downloadgdb-ffb4ea6ab0372d8d1d922237a4add2180e3d674a.zip
gdb-ffb4ea6ab0372d8d1d922237a4add2180e3d674a.tar.gz
gdb-ffb4ea6ab0372d8d1d922237a4add2180e3d674a.tar.bz2
* paread.c (pa_symtab_read): Also filter out local symbols starting
with "L$".
Diffstat (limited to 'gdb/paread.c')
-rw-r--r--gdb/paread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/paread.c b/gdb/paread.c
index 843e372..d48a93b 100644
--- a/gdb/paread.c
+++ b/gdb/paread.c
@@ -188,7 +188,8 @@ pa_symtab_read (abfd, addr, objfile)
cause problems if these special symbols have the
same value as real symbols. So ignore them. Also "LC$". */
if (*symname == 'L'
- && (symname[2] == '$' || symname[3] == '$'))
+ && (symname[1] == '$' || symname[2] == '$'
+ || symname[3] == '$'))
continue;
break;