aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-03-07 15:36:50 +0000
committerPedro Alves <palves@redhat.com>2014-03-07 15:36:50 +0000
commitc1a7b7c6f83bf330bba2326cdacd2d898555494e (patch)
tree87f9f045311e3d1f870e14318bbec13bf921f9a8 /gdb/top.h
parentc38e85596e435e83efa054b2d069ebb20dd9525e (diff)
downloadgdb-c1a7b7c6f83bf330bba2326cdacd2d898555494e.zip
gdb-c1a7b7c6f83bf330bba2326cdacd2d898555494e.tar.gz
gdb-c1a7b7c6f83bf330bba2326cdacd2d898555494e.tar.bz2
Make the go32-nat.c target inherit inf-child.c.
So that all native targets inherit a single "superclass". Target methods that are set to or do the same as inf-child.c's are removed. Tested by cross building on Fedora 17. gdb/ 2014-03-07 Pedro Alves <palves@redhat.com> * go32-nat.c: Include inf-child.h. (go32_ops): Delete global. (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): Delete methods. (go32_create_inferior): Push the passed in target pointer instead of referencing go32_ops. (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. (go32_target): New function, based on init_go32_ops, but inherit inf_child_target. (_initialize_go32_nat): Use go32_target. Move parts of init_go32_ops here.
Diffstat (limited to 'gdb/top.h')
0 files changed, 0 insertions, 0 deletions