public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/7250] Fix implementation of ``target xxx''.
[not found] <bug-7250-4717@http.sourceware.org/bugzilla/>
@ 2014-07-30 13:55 ` cvs-commit at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: cvs-commit at gcc dot gnu.org @ 2014-07-30 13:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=7250
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-30 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-7250-4717@http.sourceware.org/bugzilla/>
2014-07-30 13:55 ` [Bug remote/7250] Fix implementation of ``target xxx'' cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).