summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
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 /gdb/ChangeLog
parentcc6563d29b6f86b23c4f9a8ea73dabf9f7fc0d91 (diff)
downloadbinutils-gdb-8981c75857ec8ef645ccb4f7ccc70fccc609085d.tar.gz
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 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e6f56c0a004..deccd3199b3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2014-07-30 Yao Qi <yao@codesourcery.com>
* parser-defs.h (struct exp_descriptor) <operator_check>: Update