aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-delegates.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-15 12:58:50 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:46 -0700
commit596b6b39ab5f26a86980bc9aa6cf348d32d244b4 (patch)
tree187ab6a888c4f1d1f8c09c0eee7343c2c5a77770 /gdb/target-delegates.c
parentb427c1bc161e6e0dcbce0c27b385b3ecb9c47552 (diff)
downloadgdb-596b6b39ab5f26a86980bc9aa6cf348d32d244b4.zip
gdb-596b6b39ab5f26a86980bc9aa6cf348d32d244b4.tar.gz
gdb-596b6b39ab5f26a86980bc9aa6cf348d32d244b4.tar.bz2
remove some calls to INHERIT and de_fault
This removes a few unnecessary calls to INHERIT and de_fault: * to_doc is only used when a target is registered * to_magic is only used when a target is pushed and not useful for current_target. * to_open and to_close are only ever called using a specific target_ops object; there is no need to de_fault them. 2014-02-19 Tom Tromey <tromey@redhat.com> * target.c (update_current_target): Do not INHERIT to_doc or to_magic. Do not de_fault to_open or to_close.
Diffstat (limited to 'gdb/target-delegates.c')
0 files changed, 0 insertions, 0 deletions