aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-19 21:15:44 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-19 21:15:44 +0000
commit315a522ef2ae8795eef052cf2ab94eb973e24424 (patch)
treefb064cb53ef0fbffa8b857fc54112b874c8bcffd /gdb/utils.c
parenta892c31bde881e708e4d4e7b2b50d4f4f8169e2f (diff)
downloadgdb-315a522ef2ae8795eef052cf2ab94eb973e24424.zip
gdb-315a522ef2ae8795eef052cf2ab94eb973e24424.tar.gz
gdb-315a522ef2ae8795eef052cf2ab94eb973e24424.tar.bz2
2005-01-19 Andrew Cagney <cagney@gnu.org>
* exceptions.h (deprecated_throw_reason): Rename throw_reason. * exceptions.c (deprecated_throw_reason): Rename throw_reason. * utils.c (internal_verror, quit): Update. * remote-sds.c (interrupt_query): Update. * remote-mips.c (mips_error, mips_kill): Update. * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update. * remote.c (interrupt_query): Update. * ocd.c (interrupt_query): Update. * nto-procfs.c (interrupt_query): Update. * monitor.c (monitor_interrupt_query): Update. * breakpoint.c (break_command_1): Update.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 08dfdd4..243fc75 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -779,7 +779,7 @@ NORETURN void
internal_verror (const char *file, int line, const char *fmt, va_list ap)
{
internal_vproblem (&internal_error_problem, file, line, fmt, ap);
- throw_reason (RETURN_ERROR);
+ deprecated_throw_reason (RETURN_ERROR);
}
NORETURN void
@@ -920,7 +920,7 @@ quit (void)
fprintf_unfiltered (gdb_stderr,
"Quit (expect signal SIGINT when the program is resumed)\n");
#endif
- throw_reason (RETURN_QUIT);
+ deprecated_throw_reason (RETURN_QUIT);
}
/* Control C comes here */