From ae6d035d284f36a654186f284ead34a246eb86de Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Tue, 15 Mar 1994 21:46:32 +0000 Subject: 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 "" 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/parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/parse.c') 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; -- cgit v1.1