diff options
author | Pedro Alves <palves@redhat.com> | 2014-03-12 11:21:36 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-03-12 11:24:41 +0000 |
commit | ee8e9165af41505e5b33397afdbe5c424d5aa52c (patch) | |
tree | 16b731f668a48eee950d2357a27a99f12eea261d /gdb/jit.c | |
parent | 51a9c8c5f8931d601a67494e8a65450083b35f92 (diff) | |
download | gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.zip gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.tar.gz gdb-ee8e9165af41505e5b33397afdbe5c424d5aa52c.tar.bz2 |
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/jit.c')
0 files changed, 0 insertions, 0 deletions