This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, GDB/ARM] Expect prompt after no FPU warning
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 17 May 2017 13:10:27 +0100
- Subject: Re: [PATCH, GDB/ARM] Expect prompt after no FPU warning
- Authentication-results: sourceware.org; auth=none
- References: <c0d2b898-4fdb-8d28-e0a5-44aae541fe74@foss.arm.com>
Thomas Preudhomme <thomas.preudhomme@foss.arm.com> writes:
> 2017-04-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
>
> * gdb.base/float.exp (info float): Expect GDB prompt for ARM
Remove " (info float)".
> targets without FPU.
>
> @@ -50,7 +50,7 @@ if { [is_aarch64_target] } then {
> # if we have NEON.
> pass "info float (VFP)"
> }
> - -re "No floating.point info available for this processor.*" {
> + -re "No floating.point info available for this processor.*$gdb_prompt $" {
The fix is right but it can be applied to all archs which may not have
FPU. If you search "N floating.point info", you can find multiple hits.
$gdb_prompt is needed for all of them.
--
Yao (齐尧)