aboutsummaryrefslogtreecommitdiff
path: root/ld/ldbuildid.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-21 14:32:43 -0600
committerTom Tromey <tromey@redhat.com>2014-07-30 07:51:08 -0600
commit8981c75857ec8ef645ccb4f7ccc70fccc609085d (patch)
tree1f4ed9a9b62ec436d21bedd02a104f7ef25a8b1e /ld/ldbuildid.c
parentcc6563d29b6f86b23c4f9a8ea73dabf9f7fc0d91 (diff)
downloadgdb-8981c75857ec8ef645ccb4f7ccc70fccc609085d.zip
gdb-8981c75857ec8ef645ccb4f7ccc70fccc609085d.tar.gz
gdb-8981c75857ec8ef645ccb4f7ccc70fccc609085d.tar.bz2
fix to_open debug setting
This is a follow-on to the patch to auto-generate target debug methods. While working on that patch I noticed that the to_open debug setting will never work. There is no path by which debug_to_open can be called. This patch fixes the problem by using a generic function as the implementation of the various "target" subcommands, and then putting the debug printing there. This is also a tiny step toward fixing PR 7250 (and apparently why command contexts were introduced). Built and regtested on x86-64 Fedora 20. 2014-07-30 Tom Tromey <tromey@redhat.com> * target.c (open_target): New function. (add_target_with_completer, add_deprecated_target_alias): Use set_cmd_sfunc, set_cmd_context. (debug_to_open): Remove. (setup_target_debug): Update.
Diffstat (limited to 'ld/ldbuildid.c')
0 files changed, 0 insertions, 0 deletions