For Sunos 4.x targets, enable gdb to set breakpoints in shared
authorPeter Schauer <Peter.Schauer@mytum.de>
Tue, 15 Mar 1994 21:46:32 +0000 (21:46 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Tue, 15 Mar 1994 21:46:32 +0000 (21:46 +0000)
commitae6d035d284f36a654186f284ead34a246eb86de
tree81117ce5058d3d7984ef902010a3d4b4a39c63c2
parentf1b4e13156bf7987b306aaacc649e66e26f3c5f6
For Sunos 4.x targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* symtab.h (minimal_symbol_type):  Add mst_solib_trampoline type.
* parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
symtab.c (list_symbols):  Handle mst_solib_trampoline.
* minsyms.c (lookup_minimal_symbol):  Handle mst_solib_trampoline
for all targets, remove IBM6000_TARGET dependencies.
* dbxread.c (read_dbx_dynamic_symtab):  New function.
* dbxread.c (dbx_symfile_read):  Use it.
* dbxread.c (SET_NAMESTRING):  Set namestring to
"<bad string table index>" instead of "foo" if the string index is
corrupt.
* xcoffread.c (read_xcoff_symtab):  Use mst_solib_trampoline instead
of mst_unknown.
* symtab.c (list_symbols):  Take from_tty as parameter and pass it
to break_command. Handle mst_file_* minimal symbol types.
gdb/ChangeLog
gdb/minsyms.c
gdb/parse.c
gdb/symtab.c
gdb/xcoffread.c