This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 1/2] Add new GDB command "maint print user-registers"
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Fri, 12 Dec 2014 13:19:11 +0000
- Subject: Re: [PATCH v4 1/2] Add new GDB command "maint print user-registers"
- Authentication-results: sourceware.org; auth=none
- References: <1418298589-23120-1-git-send-email-arnez at linux dot vnet dot ibm dot com> <1418298589-23120-2-git-send-email-arnez at linux dot vnet dot ibm dot com>
On 12/11/2014 11:49 AM, Andreas Arnez wrote:
> 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.
This looks good to me. Thanks for doing this.
--
Pedro Alves