This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 2/2] Provide completer for "info registers"
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 15 Dec 2014 12:41:39 +0000
- Subject: Re: [PATCH v4 2/2] Provide completer for "info 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-3-git-send-email-arnez at linux dot vnet dot ibm dot com> <548AEB86 dot 60809 at redhat dot com> <877fxwnbd6 dot fsf at br87z6lw dot de dot ibm dot com> <CADPb22QgDz9hTOUciHR8kxTYhWtpVCrUr25RJuni2+cfnsYH8w at mail dot gmail dot com> <87388kn0zt dot fsf at br87z6lw dot de dot ibm dot com>
On 12/12/2014 07:04 PM, Andreas Arnez wrote:
> On Fri, Dec 12 2014, Doug Evans wrote:
>
>> I'm seeing the following new failure on amd64-linux:
>>
>> (gdb) complete info registers ^M
>> info registers ah^M
>> info registers al^M
>> ...
>> info registers ymm9^M
>> info registers ymm9h^M
>> (gdb) FAIL: gdb.base/completion.exp: complete 'info registers '
>
> Oops. This is because the user registers have 3-digit numbers and thus
> occupy the first column in the output of "maint print user-registers".
> This doesn't match the latest version of the regexp in completion.exp.
>
> In fact, this is a useful finding, because the output of "maint print
> user-registers" should actually be indented.
>
> Here's a suggested fix.
OK, thanks.
Thanks,
Pedro Alves