diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-10-22 21:39:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-10-22 21:39:09 +0000 |
commit | f1c07ab0ca71fdadc64f2838f87f39784aee5b63 (patch) | |
tree | 669beaa649a52386e7e6431a687d5a74e7d3fbbe /gdb/top.c | |
parent | c9ac89782df8198d0c48219364b15d3af5efa0dd (diff) | |
download | gdb-f1c07ab0ca71fdadc64f2838f87f39784aee5b63.zip gdb-f1c07ab0ca71fdadc64f2838f87f39784aee5b63.tar.gz gdb-f1c07ab0ca71fdadc64f2838f87f39784aee5b63.tar.bz2 |
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".
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1461,7 +1461,7 @@ quit_target (void *arg) } /* UDI wants this, to kill the TIP. */ - target_close (1); + target_close (¤t_target, 1); /* Save the history information if it is appropriate to do so. */ if (write_history_p && history_filename) |