aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-03-12 11:21:36 +0000
committerPedro Alves <palves@redhat.com>2014-03-12 11:24:41 +0000
commitee8e9165af41505e5b33397afdbe5c424d5aa52c (patch)
tree16b731f668a48eee950d2357a27a99f12eea261d /gdb/inf-child.c
parentMake the windows-nat.c target inherit inf-child.c. (diff)
downloadbinutils-gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.tar.gz
binutils-gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.tar.bz2
binutils-gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.zip
Make the nto-procfs.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. Not tested. gdb/ 2014-03-12 Pedro Alves <palves@redhat.com> * nto-procfs.c: Include inf-child.h. (procfs_ops): Delete global. (procfs_can_run): Delete method. (procfs_detach, procfs_mourn_inferior): Unpush the passed in target pointer instead of referencing procfs_ops. (procfs_prepare_to_store): Delete. (init_procfs_ops): Delete function. (procfs_target): New function, based on init_procfs_ops, but inherit inf_child_target. (_initialize_procfs): Use procfs_target.
Diffstat (limited to 'gdb/inf-child.c')
0 files changed, 0 insertions, 0 deletions