OSDN Git Service

gdb/
authorjkratoch <jkratoch>
Thu, 19 Jan 2012 16:36:37 +0000 (16:36 +0000)
committerjkratoch <jkratoch>
Thu, 19 Jan 2012 16:36:37 +0000 (16:36 +0000)
* target.h (target_close): Update comment on the target's unpush state.

gdb/ChangeLog
gdb/target.h

index cd55e42..869322b 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * target.h (target_close): Update comment on the target's unpush state.
+
 2012-01-19  Pedro Alves  <palves@redhat.com>
 
        * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
index 7d0bed1..425c877 100644 (file)
@@ -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);