diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-01 20:41:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-01 20:41:35 +0000 |
commit | 3fd4045fdb1f0ccff7cca0c6604648d0e0cb8d48 (patch) | |
tree | 118305323e4d8c0d6caa80b087b2811a161b815f /gdb/paread.c | |
parent | 58cf370c115778e2b54815128cab5815771c8b37 (diff) | |
download | gdb-3fd4045fdb1f0ccff7cca0c6604648d0e0cb8d48.zip gdb-3fd4045fdb1f0ccff7cca0c6604648d0e0cb8d48.tar.gz gdb-3fd4045fdb1f0ccff7cca0c6604648d0e0cb8d48.tar.bz2 |
* paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.
* Makefile.in: Add -O to CXXFLAGS.
* TODO: Expand comments on fast watchpoints.
Diffstat (limited to 'gdb/paread.c')
-rw-r--r-- | gdb/paread.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/paread.c b/gdb/paread.c index 6399378..11246ff 100644 --- a/gdb/paread.c +++ b/gdb/paread.c @@ -182,11 +182,13 @@ pa_symtab_read (abfd, addr, objfile) bufp->symbol_value &= ~0x3; /* clear out permission bits */ check_strange_names: - /* GAS leaves symbols with the prefixes "LS$", "LBB$", - and "LBE$" in .o files after assembling. And thus - they appear in the final executable. This can - cause problems if these special symbols have the - same value as real symbols. So ignore them. Also "LC$". */ + /* GAS leaves labels in .o files after assembling. At + least labels starting with "LS$", "LBB$", "LBE$", + "LC$", and "L$" can happen. This should be fixed in + the assembler and/or compiler, to save space in the + executable (and because having GDB make gross + distinctions based on the name is kind of ugly), but + until then, just ignore them. */ if (*symname == 'L' && (symname[1] == '$' || symname[2] == '$' || symname[3] == '$')) |