aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-07-03 07:08:31 +0000
committerJohn Gilmore <gnu@cygnus>1992-07-03 07:08:31 +0000
commit4c7c6bab1f8ca0ff46795c843e887171f86731d1 (patch)
tree72ace6b3124f007fc7f8992246b932ac75f36b07 /gdb/partial-stab.h
parent28b6b1ab85e9bd47d47ef77715fc19fe13dd7674 (diff)
downloadgdb-4c7c6bab1f8ca0ff46795c843e887171f86731d1.zip
gdb-4c7c6bab1f8ca0ff46795c843e887171f86731d1.tar.gz
gdb-4c7c6bab1f8ca0ff46795c843e887171f86731d1.tar.bz2
* dbxread.c (process_one_symbol): Ignore N_MAIN, N_ENDM for Solaris.
* partial-stab.h: Ignore N_ENDM. * elfread.c (elf_symtab_read): Ignore symbols that don't have a CODE or DATA section attachment. This eliminates a lot of random values from shared libraries, which screw up the ordinary symbols in the address ranges they happen to overlap. * buildsym.c (define_symbol): Eliminate special tests for function types; move into "function" cases in switch statement. (define_symbol: 'f', 'F', 'P'): Process all parameter types in case they define new type numbers. But ignore them (FIXME). ('k', 'B'): Ignore const and volatile if we see them (FIXME). (read_sun_builtin_type): Add commentary.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 2dc32e0..cd07a97 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -630,8 +630,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
case N_NSYMS: /* Ultrix 4.0: symbol count */
case N_DEFD: /* GNU Modula-2 */
- case N_OBJ: /* two useless types from Solaris */
+ case N_OBJ: /* useless types from Solaris */
case N_OPT:
+ case N_ENDM:
/* These symbols aren't interesting; don't worry about them */
continue;