From b5a2688fa413f2705d4d4bed866c8b11d0dc08d5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 10 Feb 2002 04:08:42 +0000 Subject: * defs.h (throw_exception): Rename return_to_top_level. Update comments. * utils.c (error_stream, internal_verror, quit): Ditto. * top.c (throw_exception, catcher): Ditto. * sparclet-rom.c (sparclet_load): Ditto. * remote.c (interrupt_query, minitelnet): Ditto. * remote-sds.c (interrupt_query): Ditto. * remote-mips.c (mips_error, mips_kill): Ditto. * ocd.c (interrupt_query): Ditto. * monitor.c (monitor_interrupt_query): Ditto. * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. * target.h: Update comment. * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. --- gdb/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/utils.c') diff --git a/gdb/utils.c b/gdb/utils.c index db21d34..e27769f 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -645,7 +645,7 @@ error_stream (struct ui_file *stream) ui_file_put (stream, do_write, gdb_stderr); fprintf_filtered (gdb_stderr, "\n"); - return_to_top_level (RETURN_ERROR); + throw_exception (RETURN_ERROR); } /* Get the last error message issued by gdb */ @@ -728,7 +728,7 @@ Create a core file containing the current state of GDB? "); } dejavu = 0; - return_to_top_level (RETURN_ERROR); + throw_exception (RETURN_ERROR); } NORETURN void @@ -850,7 +850,7 @@ quit (void) fprintf_unfiltered (gdb_stderr, "Quit (expect signal SIGINT when the program is resumed)\n"); #endif - return_to_top_level (RETURN_QUIT); + throw_exception (RETURN_QUIT); } /* Control C comes here */ -- cgit v1.1