SEGV running gdb-6.7 on Tru64 UNIX 5.1
Joel Brobecker
brobecker@adacore.com
Thu Oct 18 03:20:00 GMT 2007
> Anyone running 6.7 successfully on Tru64 UNIX 5.1? gdb-6.6 Worked ok.
I am able to run it through your example. However, I did build the
executable using gcc, not cc. That's probably where the difference is.
> >0 0x120125920 in symbol_found(funfirstline=1, canonical=0x0, copy=0x1401778d0="main", sym=0x14014d7c0, file_symtab=0x0, sym_symtab=0x0) "linespec.c":1786
The problem here is that both file_symtab and sym_symtab are NULL.
Looking at the frame just above it:
> #1 0x120125744 in decode_variable(copy=0x1401778d0="main", funfirstline=1, canonical=0x0, file_symtab=0x0, not_found_ptr=0x0) "linespec.c":1737
Apparently, lookup_symbol found a symbol for "main", but did not
return the associated symtab.
You'll probably need to debug GDB to find out why
lookup_symbol_in_language set the symtab to NULL...
--
Joel
More information about the Gdb
mailing list