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:21:47 +0000 |
commit | 51a9c8c5f8931d601a67494e8a65450083b35f92 (patch) | |
tree | 6d692a1ccd4dbcfecf22c4b3587679336333f85a /gdb/jit.c | |
parent | 5893c83a47db6f00e183a271f3b330dcd8efd069 (diff) | |
download | gdb-51a9c8c5f8931d601a67494e8a65450083b35f92.zip gdb-51a9c8c5f8931d601a67494e8a65450083b35f92.tar.gz gdb-51a9c8c5f8931d601a67494e8a65450083b35f92.tar.bz2 |
Make the windows-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, and then confirming that
./gdb.exe ./gdb.exe -ex "set pagination off" -ex "start"
under Wine still works.
Also, Joel tested this with Adacore's internal testsuite.
gdb/
2014-03-12 Pedro Alves <palves@redhat.com>
* windows-nat.c: Include inf-child.h.
(windows_ops): Delete global.
(windows_open, windows_prepare_to_store, windows_can_run): Delete
methods.
(init_windows_ops): Delete function.
(windows_target): New function, based on init_windows_ops, but
inherit inf_child_target.
(_initialize_windows_nat): Use windows_target. Install x86
specific target methods here.
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions