This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] MIPS: Provide FPU info and decode FCSR in `info float'
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Dec 2014 11:16:35 +0000
- Subject: Re: [PATCH 3/3] MIPS: Provide FPU info and decode FCSR in `info float'
- Authentication-results: sourceware.org; auth=none
- References: <1418798765-23198-1-git-send-email-yao at codesourcery dot com> <1418798765-23198-4-git-send-email-yao at codesourcery dot com> <5491609E dot 1080204 at redhat dot com> <87oar2sb5h dot fsf at codesourcery dot com> <87bnn1sr3b dot fsf at codesourcery dot com>
On 12/18/2014 01:07 AM, Yao Qi wrote:
> Yao Qi <yao@codesourcery.com> writes:
>
>> } elseif [istarget "mips*-*-*"] then {
>> - gdb_test "info float" "f0:.*flt:.*dbl:.*" "info float"
>> + gdb_test_multiple "info float" "info float" {
>> + -re "fpu type: none*" {
>> + pass "info float (without FPU)"
>> + }
>> + -re "fpu type:.*cause.*mask.*flags.*round.*flush.*" {
>> + pass "info float (with FPU)"
>> + }
>> + }
>
> The updated patch adds the "$gdb_prompt $" at the end of those patterns
> and restrict the restrict the patterns.
Thanks, this version looks good to me.
Thanks,
Pedro Alves