mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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.
This commit is contained in:
@@ -497,7 +497,7 @@ mips_error (char *string,...)
|
||||
printf_unfiltered ("Ending remote MIPS debugging.\n");
|
||||
target_mourn_inferior ();
|
||||
|
||||
return_to_top_level (RETURN_ERROR);
|
||||
throw_exception (RETURN_ERROR);
|
||||
}
|
||||
|
||||
/* putc_readable - print a character, displaying non-printable chars in
|
||||
@@ -2186,7 +2186,7 @@ Give up (and stop debugging it)? "))
|
||||
printf_unfiltered ("Ending remote MIPS debugging.\n");
|
||||
target_mourn_inferior ();
|
||||
|
||||
return_to_top_level (RETURN_QUIT);
|
||||
throw_exception (RETURN_QUIT);
|
||||
}
|
||||
|
||||
target_terminal_inferior ();
|
||||
|
||||
Reference in New Issue
Block a user