This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug testsuite/22091] PASS->FAIL: gdb.arch/thumb2-it.exp
- From: "thopre01 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 06 Sep 2017 13:37:46 +0000
- Subject: [Bug testsuite/22091] PASS->FAIL: gdb.arch/thumb2-it.exp
- Auto-submitted: auto-generated
- References: <bug-22091-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22091
--- Comment #2 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Pedro Alves from comment #1)
> Casts is the simplest. Can you give it a try? Assuming the function
> returns nothing, then something like this should work:
>
> - gdb_test "call ${func}()" "Breakpoint.*@ Setup.*" "$func, call"
> + gdb_test "call (void) ${func}()" "Breakpoint.*@ Setup.*" "$func, call"
It works on the condition that the call to it_breakpoints below is also cast.
Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.