aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparclet-rom.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-10 04:08:42 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-10 04:08:42 +0000
commitb5a2688fa413f2705d4d4bed866c8b11d0dc08d5 (patch)
treec780788c35dc7296161efaa7169a15fc152719fc /gdb/sparclet-rom.c
parentf92d92ffd1a0956a67dbf364909be74b957e0f18 (diff)
downloadgdb-b5a2688fa413f2705d4d4bed866c8b11d0dc08d5.zip
gdb-b5a2688fa413f2705d4d4bed866c8b11d0dc08d5.tar.gz
gdb-b5a2688fa413f2705d4d4bed866c8b11d0dc08d5.tar.bz2
* 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/sparclet-rom.c')
-rw-r--r--gdb/sparclet-rom.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/sparclet-rom.c b/gdb/sparclet-rom.c
index 071bf89..fa2ca1e 100644
--- a/gdb/sparclet-rom.c
+++ b/gdb/sparclet-rom.c
@@ -1,6 +1,7 @@
/* Remote target glue for the SPARC Sparclet ROM monitor.
- Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -204,7 +205,7 @@ sparclet_load (struct serial *desc, char *file, int hashmark)
pop_target ();
push_remote_target (monitor_get_dev_name (), 1);
- return_to_top_level (RETURN_QUIT);
+ throw_exception (RETURN_QUIT);
}
/* Define the monitor command strings. Since these are passed directly