Re: [PATCH 2/2 ] PowerPC: fix for gdb.reverse/finish-precsave.exp and gdb.reverse/finish-reverse.exp

Simon Marchi via Gdb-patches
2023-03-24T17:24:13Z

On 3/1/23 15:59, Carl Love via Gdb-patches wrote:
> Tom, Ulrich, Bruno, Pedro, GDB maintainers:
>
> This patch fixes the reverse-finish command on PowerPC. The command
> now works the same as on other architectures, specifically X86. There
> are no functional changes for other architectures. The patch includes
> a new testcase to verify the reverse-finish command works correctly
> with the multiple entry points supported by PowerPC.
>
>
> Patch tested on PowerPC and 5th generation X86 with no regression
> failures.
>
> Carl

Hi Carl,

I don't know if that particular failure has been reported yet, but I see
these failures when running with native-gdbserver or
native-extended-gdbserver:

$ make check TESTS="gdb.reverse/finish-reverse-next.exp" RUNTESTFLAGS="--target_board=native-gdbserver"
FAIL: gdb.reverse/finish-reverse-next.exp: reverse-finish function1 LEP call from LEP
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 1 LEP entry point function call from LEP
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 2, at b = 5, call from LEP
FAIL: gdb.reverse/finish-reverse-next.exp: reverse-finish function1 LEP call from function body
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 1 LEP from function body
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 2 at b = 5, from function body
FAIL: gdb.reverse/finish-reverse-next.exp: function1 GEP call call from GEP
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 1 GEP entry point function call from GEP
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 2 at b = 50, call from GEP
FAIL: gdb.reverse/finish-reverse-next.exp: function1 GEP call call from GEP again
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 1 GEP entry point function call from GEP again
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 2 at b = 50, call from GEP again
FAIL: gdb.reverse/finish-reverse-next.exp: reverse-finish function1 GEP call, from function body
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 1 GEP call from function body
FAIL: gdb.reverse/finish-reverse-next.exp: reverse next 2 at b = 50 from function body

Simon