This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/22091] PASS->FAIL: gdb.arch/thumb2-it.exp


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]