OSDN Git Service

2003-10-15 Andrew Cagney <cagney@redhat.com>
authorcagney <cagney>
Fri, 17 Oct 2003 13:59:27 +0000 (13:59 +0000)
committercagney <cagney>
Fri, 17 Oct 2003 13:59:27 +0000 (13:59 +0000)
commitd3082205ba4e5ed10dc46007b70bb643dec23a46
treeaf90c7928ac8b2b2f7495f90c5349a47ee236417
parent80077f752d0c3dd3fdce276e11fa0364933512f7
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* target.c (target_stack): Change to a static target_ops.
(update_current_target): Walk the "struct target_ops" stack.
(pop_target, do_xfer_memory, target_info): Ditto.
(find_target_beneath): Ditto.
(push_target): Rewrite to use the "struct target_ops" stack.
(unpush_target): Ditto.
* target.h (struct target_stack_item): Delete definition.
(target_stack): Delete declaration.
(struct target_ops): Add field "beneath".
gdb/ChangeLog
gdb/target.c
gdb/target.h