This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 71c247087cbff23fbbe10333a9e504f3e197c107
- From: krebbel at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Dec 2014 16:11:37 -0000
- Subject: gdb and binutils branch master updated. 71c247087cbff23fbbe10333a9e504f3e197c107
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 71c247087cbff23fbbe10333a9e504f3e197c107 (commit)
via f5b95c01fbe709f73ca3ba60136ff973dcb706a5 (commit)
from 3e29f34a4eef29f5b159749ccb1efb8867b2e651 (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=71c247087cbff23fbbe10333a9e504f3e197c107
commit 71c247087cbff23fbbe10333a9e504f3e197c107
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Fri Dec 12 17:11:22 2014 +0100
Provide completer for "info registers"
Provide a new completion function for the argument of "info
registers", "info all-registers", and the "lr" command in dbx mode.
Without this patch the default symbol completer is used, which is more
confusing than helpful.
Also add a test for this new feature to "completion.exp": Determine
the target's available set of registers/reggroups and compare this to
the completion of "info registers ". For determining the available
registers involve the new "maint print user-registers" command.
gdb/ChangeLog:
* completer.c: Include "target.h", "reggroups.h", and
"user-regs.h".
(reg_or_group_completer): New.
* completer.h (reg_or_group_completer): Declare.
* infcmd.c (_initialize_infcmd): Set reg_or_group_completer for
the "info registers" and "info all-registers" commands and the
dbx-mode "lr" command.
gdb/testsuite/ChangeLog:
* gdb.base/completion.exp: Add test for completion of "info
registers ".
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f5b95c01fbe709f73ca3ba60136ff973dcb706a5
commit f5b95c01fbe709f73ca3ba60136ff973dcb706a5
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Fri Dec 12 17:11:22 2014 +0100
Add new GDB command "maint print user-registers"
This adds a command for listing the "user" registers. So far GDB
offered no means of determining the set of user registers and omitted
them from all other register listings.
gdb/ChangeLog:
* user-regs.c: Include "arch-utils.h", "command.h", and
"cli/cli-cmds.h".
(maintenance_print_user_registers): New.
(_initialize_user_regs): Register new "maint print user-registers"
subcommand.
* NEWS: Mention new GDB command "maint print user-registers".
gdb/doc/ChangeLog:
* gdb.texinfo: Document "maint print user-registers".
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 19 +++++++++++++++
gdb/NEWS | 3 ++
gdb/completer.c | 42 +++++++++++++++++++++++++++++++++
gdb/completer.h | 3 ++
gdb/doc/ChangeLog | 4 +++
gdb/doc/gdb.texinfo | 12 +++++++++
gdb/infcmd.c | 12 +++++++--
gdb/testsuite/ChangeLog | 5 ++++
gdb/testsuite/gdb.base/completion.exp | 31 ++++++++++++++++++++++++
gdb/user-regs.c | 24 ++++++++++++++++++
10 files changed, 152 insertions(+), 3 deletions(-)
hooks/post-receive
--
gdb and binutils