This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 8981c75857ec8ef645ccb4f7ccc70fccc609085d
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Jul 2014 13:54:51 -0000
- Subject: gdb and binutils branch master updated. 8981c75857ec8ef645ccb4f7ccc70fccc609085d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 8981c75857ec8ef645ccb4f7ccc70fccc609085d (commit)
from cc6563d29b6f86b23c4f9a8ea73dabf9f7fc0d91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8981c75857ec8ef645ccb4f7ccc70fccc609085d
commit 8981c75857ec8ef645ccb4f7ccc70fccc609085d
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 14:32:43 2014 -0600
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.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 8 ++++++++
gdb/target.c | 37 ++++++++++++++++++++++++-------------
2 files changed, 32 insertions(+), 13 deletions(-)
hooks/post-receive
--
gdb and binutils