diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-10 04:08:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-10 04:08:42 +0000 |
commit | cea2a194e4ba92718e1ba78b81454405a9f1a475 (patch) | |
tree | f952ee97d182eb879720387f1299ec012e7992c3 /gdb/remote.c | |
parent | 241fcee147cf8f2e426ee99cf3cef579e3ed599d (diff) | |
download | gdb-cea2a194e4ba92718e1ba78b81454405a9f1a475.tar.gz |
* 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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 688024d7f0f..bb321dc8798 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2877,7 +2877,7 @@ interrupt_query (void) Give up (and stop debugging it)? ")) { target_mourn_inferior (); - return_to_top_level (RETURN_QUIT); + throw_exception (RETURN_QUIT); } target_terminal_inferior (); @@ -5717,7 +5717,7 @@ minitelnet (void) if (query ("Interrupt GDB? ")) { printf_filtered ("Interrupted by user.\n"); - return_to_top_level (RETURN_QUIT); + throw_exception (RETURN_QUIT); } quit_count = 0; } |