This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Provide useful completer for "info registers"
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Cc: Sergio Durigan Junior <sergiodj at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 10 Dec 2014 18:21:13 +0000
- Subject: Re: [PATCH] Provide useful completer for "info registers"
- Authentication-results: sourceware.org; auth=none
- References: <87h9xnqje8 dot fsf at br87z6lw dot de dot ibm dot com> <87ioi1bs3x dot fsf at redhat dot com> <54809B2C dot 8070707 at redhat dot com> <87388no1ac dot fsf at br87z6lw dot de dot ibm dot com>
On 12/10/2014 05:35 PM, Andreas Arnez wrote:
> It seems that user registers can not be listed by any means in GDB.
> Most architectures only have the built-in set of user registers ($pc,
> $sp, $fp, and $ps), but some define additional ones. This creates a
> difficulty with the test case, which tries to determine the full list of
> registers and reggroups the completer is supposed to yield. Thus I just
> added such a command in v3 as well.
Sounds excellent, thanks.
Pedro Alves