This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v4 0/2] Provide useful completer for "info registers"

Last version here:

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(-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]