aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
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/target.h
parentf92d92ffd1a0956a67dbf364909be74b957e0f18 (diff)
downloadfsf-binutils-gdb-b5a2688fa413f2705d4d4bed866c8b11d0dc08d5.zip
fsf-binutils-gdb-b5a2688fa413f2705d4d4bed866c8b11d0dc08d5.tar.gz
fsf-binutils-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/target.h')
-rw-r--r--gdb/target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 3d17bec..b5d036b 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -438,10 +438,10 @@ extern void target_detach (char *, int);
(*current_target.to_resume) (ptid, step, siggnal); \
} while (0)
-/* Wait for process pid to do something. PTID = -1 to wait for any pid
- to do something. Return pid of child, or -1 in case of error;
+/* Wait for process pid to do something. PTID = -1 to wait for any
+ pid to do something. Return pid of child, or -1 in case of error;
store status through argument pointer STATUS. Note that it is
- *not* OK to return_to_top_level out of target_wait without popping
+ _NOT_ OK to throw_exception() out of target_wait() without popping
the debugging target from the stack; GDB isn't prepared to get back
to the prompt with a debugging target but without the frame cache,
stop_pc, etc., set up. */