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 | b5a2688fa413f2705d4d4bed866c8b11d0dc08d5 (patch) | |
tree | c780788c35dc7296161efaa7169a15fc152719fc /gdb/m3-nat.c | |
parent | f92d92ffd1a0956a67dbf364909be74b957e0f18 (diff) | |
download | gdb-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/m3-nat.c')
-rw-r--r-- | gdb/m3-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c index d01e22c..320cbf8 100644 --- a/gdb/m3-nat.c +++ b/gdb/m3-nat.c @@ -1,8 +1,8 @@ /* Interface GDB to Mach 3.0 operating systems. (Most) Mach 3.0 related routines live in this file. - Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 - Free Software Foundation, Inc. + Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, + 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -2939,7 +2939,7 @@ suspend_all_threads (int from_tty) { warning ("Could not suspend inferior threads."); m3_kill_inferior (); - return_to_top_level (RETURN_ERROR); + throw_exception (RETURN_ERROR); } for (index = 0; index < thread_count; index++) @@ -3108,7 +3108,7 @@ thread_resume_command (char *args, int from_tty) { if (current_thread) current_thread = saved_thread; - return_to_top_level (RETURN_ERROR); + throw_exception (RETURN_ERROR); } ret = thread_info (current_thread, |