Article View: gnu.gdb.bug
Article #547gdb 4.7 Segmentation Fault
From: Richard Krehbiel
Date: Wed, 30 Dec 1992 10:05
Date: Wed, 30 Dec 1992 10:05
28 lines
1663 bytes
1663 bytes
Running Interactive Unix 3.0.1.
Entering "gdb cc1plus", where cc1plus is from GCC 2.3.3, gives an
immediate core dump trying to read the symbol table.
gdb 4.7 was configured as i386-isc with ISC configuration patches I
gave here earlier. I tried it with the distributed coffread.c, with
similar results.
gcc 2.3.3 was configured as i386-isc-sysv.
Core was generated by `gdb'.
#0 0x43bed in read_one_sym (cs=0x7ffff96c, sym=0xe0535593, aux=0x442110)
at coffread.c:1281
1281 if (!SDB_TYPE (cs->c_type))
(top-gdb) bt
#0 0x43bed in read_one_sym (cs=0x7ffff96c, sym=0xe0535593, aux=0x442110)
at coffread.c:1281
#1 0x4354e in read_coff_symtab (symtab_offset=1131060, nsyms=118170,
objfile=0x440f08) at coffread.c:976
#2 0x42c5f in coff_end_symtab (objfile=0x440f08) at coffread.c:635
#3 0x1f1da in syms_from_objfile (objfile=0x440f08, addr=0, mainline=1,
verbo=0) at symfile.c:443
#4 0x1f3ea in symbol_file_add (name=0x43be48 "/prod/gnu/gcc-2.3.3/cc1plus",
from_tty=0, addr=0, mainline=1, mapped=0, readnow=0) at symfile.c:571
#5 0x1f64d in symbol_file_command (args=0x43be8c "", from_tty=0)
at symfile.c:668
#6 0x1152 in main (argc=2, argv=0x7ffffb40) at main.c:758
Technical Details
Message-ID:
<9212302005.AA23711@rich.kastle.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rich.kastle.COM!richShow Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rich.kastle.COM!rich From: rich@rich.kastle.COM (Richard Krehbiel) Subject: gdb 4.7 Segmentation Fault Message-ID: <9212302005.AA23711@rich.kastle.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 30 Dec 1992 10:05:28 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 29