From 1afc203311b1cd4dfc50a6aede9cab6163d08717 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 19 Jan 2012 16:36:38 +0000 Subject: [PATCH] gdb/ * target.h (target_close): Update comment on the target's unpush state. --- gdb/ChangeLog | 4 ++++ gdb/target.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd55e42994a..869322b281b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-01-19 Jan Kratochvil + + * target.h (target_close): Update comment on the target's unpush state. + 2012-01-19 Pedro Alves * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and diff --git a/gdb/target.h b/gdb/target.h index 7d0bed15c2a..425c877077c 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); -- 2.30.2