aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-01-19 16:36:38 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-01-19 16:36:38 +0000
commit1afc203311b1cd4dfc50a6aede9cab6163d08717 (patch)
treec863e35f3e5f5286f12d374ffd029a5dd99305d5 /gdb/target.h
parent305436e07ac142e2cd8f9659bf8d6ad9630d5008 (diff)
downloadgdb-1afc203311b1cd4dfc50a6aede9cab6163d08717.zip
gdb-1afc203311b1cd4dfc50a6aede9cab6163d08717.tar.gz
gdb-1afc203311b1cd4dfc50a6aede9cab6163d08717.tar.bz2
gdb/
* target.h (target_close): Update comment on the target's unpush state.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 7d0bed1..425c877 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -820,10 +820,10 @@ extern struct target_ops current_target;
longer going to be calling. QUITTING indicates that GDB is exiting
and should not get hung on an error (otherwise it is important to
perform clean termination, even if it takes a while). This routine
- is automatically always called when popping the target off the
- target stack (to_beneath is undefined). Closing file descriptors
- and freeing all memory allocated memory are typical things it
- should do. */
+ is automatically always called after popping the target off the
+ target stack - the target's own methods are no longer available
+ through the target vector. Closing file descriptors and freeing all
+ memory allocated memory are typical things it should do. */
void target_close (struct target_ops *targ, int quitting);