diff options
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 4f7fd90..e605e6b 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -760,9 +760,19 @@ update_solib_list (int from_tty) have not opened a symbol file, we may be able to get its symbols now! */ if (inf->attach_flag && symfile_objfile == NULL) - catch_errors (ops->open_symbol_file_object, &from_tty, - "Error reading attached process's symbol file.\n", - RETURN_MASK_ALL); + { + TRY + { + ops->open_symbol_file_object (from_tty); + } + CATCH (ex, RETURN_MASK_ALL) + { + exception_fprintf (gdb_stderr, ex, + "Error reading attached " + "process's symbol file.\n"); + } + END_CATCH + } } /* GDB and the inferior's dynamic linker each maintain their own |