This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v4 0/2] Provide useful completer for "info registers"
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Dec 2014 12:49:47 +0100
- Subject: [PATCH v4 0/2] Provide useful completer for "info registers"
- Authentication-results: sourceware.org; auth=none
Last version here:
https://sourceware.org/ml/gdb-patches/2014-12/msg00212.html
New in v4:
* In maintenance_print_user_registers, no longer require
target_has_registers, but get the gdbarch with get_current_arch().
* Cosmetic changes in maintenance_print_user_registers: Rename the
variable "nr" to "regnum"; increment regnum in the for-loop
iterator instead of the loop body.
* In the documentation for the new command, enclose the first
occurrence of "user registers" in @dfn{}.
Andreas Arnez (2):
Add new GDB command "maint print user-registers"
Provide completer for "info registers"
gdb/NEWS | 3 +++
gdb/completer.c | 42 +++++++++++++++++++++++++++++++++++
gdb/completer.h | 3 +++
gdb/doc/gdb.texinfo | 12 ++++++++++
gdb/infcmd.c | 12 +++++++---
gdb/testsuite/gdb.base/completion.exp | 31 ++++++++++++++++++++++++++
gdb/user-regs.c | 24 ++++++++++++++++++++
7 files changed, 124 insertions(+), 3 deletions(-)
--
1.8.4.2