2003-10-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 22 Oct 2003 21:39:09 +0000 (21:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 22 Oct 2003 21:39:09 +0000 (21:39 +0000)
commitf1c07ab0ca71fdadc64f2838f87f39784aee5b63
tree669beaa649a52386e7e6431a687d5a74e7d3fbbe
parentc9ac89782df8198d0c48219364b15d3af5efa0dd
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* target.c (target_close): New function.
(debug_to_close): Use "target_close".
(push_target): Use "target_close".
(unpush_target): Use "target_close".
(pop_target): Use "target_close".
* target.h (struct target_ops): Add "to_xclose".
(target_open): Delete macro.  Move comment to "to_open".
(target_close): Replace macro with function that takes a target.
* top.c (quit_target): Pass "current_target" to "target_close".
gdb/ChangeLog
gdb/target.c
gdb/target.h
gdb/top.c