aboutsummaryrefslogtreecommitdiff
path: root/gdb/exceptions.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-14 23:27:14 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-14 23:27:14 +0000
commit1c3c7ee7fbd13bf80fa8ff28bd867c20ae216196 (patch)
treecd509ea6feaa80f1131a5e54fa64e495b44bae67 /gdb/exceptions.c
parentf304d6ec50b63ce98a594cec959fbed065af9aaf (diff)
downloadgdb-1c3c7ee7fbd13bf80fa8ff28bd867c20ae216196.zip
gdb-1c3c7ee7fbd13bf80fa8ff28bd867c20ae216196.tar.gz
gdb-1c3c7ee7fbd13bf80fa8ff28bd867c20ae216196.tar.bz2
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.h (catch_exceptions): Delete errstring parameter. (catch_exceptions_with_msg): Ditto. * exceptions.c (catch_exceptions_with_msg): Update. (catch_exceptions): Update. * symfile-mem.c (add_vsyscall_page): Update. * frame.c (get_current_frame): Update. * wrapper.c (gdb_value_struct_elt): Update. * exceptions.c (catch_exceptions): Update. * thread.c (gdb_list_thread_ids, gdb_thread_select): Update. * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update. * remote-fileio.c (remote_fileio_request): Update.
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r--gdb/exceptions.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 1301623..7d4ce50 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -467,11 +467,9 @@ int
catch_exceptions (struct ui_out *uiout,
catch_exceptions_ftype *func,
void *func_args,
- char *errstring,
return_mask mask)
{
- return catch_exceptions_with_msg (uiout, func, func_args, errstring,
- NULL, mask);
+ return catch_exceptions_with_msg (uiout, func, func_args, NULL, mask);
}
struct exception
@@ -493,13 +491,12 @@ int
catch_exceptions_with_msg (struct ui_out *uiout,
catch_exceptions_ftype *func,
void *func_args,
- char *errstring,
char **gdberrmsg,
return_mask mask)
{
volatile struct exception exception;
volatile int val = 0;
- SIGJMP_BUF *catch = catcher_init (uiout, errstring, &exception, mask, 1);
+ SIGJMP_BUF *catch = catcher_init (uiout, NULL, &exception, mask, 1);
for (SIGSETJMP ((*catch)); catcher_state_machine (CATCH_ITER);)
val = (*func) (uiout, func_args);
gdb_assert (val >= 0);