diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-15 21:46:32 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-15 21:46:32 +0000 |
commit | ae6d035d284f36a654186f284ead34a246eb86de (patch) | |
tree | 81117ce5058d3d7984ef902010a3d4b4a39c63c2 /gdb/parse.c | |
parent | f1b4e13156bf7987b306aaacc649e66e26f3c5f6 (diff) | |
download | gdb-ae6d035d284f36a654186f284ead34a246eb86de.zip gdb-ae6d035d284f36a654186f284ead34a246eb86de.tar.gz gdb-ae6d035d284f36a654186f284ead34a246eb86de.tar.bz2 |
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.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 5b18538..23de13c 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -378,6 +378,7 @@ write_exp_msymbol (msymbol, text_symbol_type, data_symbol_type) { case mst_text: case mst_file_text: + case mst_solib_trampoline: write_exp_elt_type (text_symbol_type); break; |