On 4/2/21 9:41 AM, Richard Henderson wrote:
On 4/1/21 3:25 AM, Alex Bennée wrote:check_break("SHA1Init") - # check step and inspect values + # Check step and inspect values. We do a double next after the + # breakpoint as depending on the version of gdb we may step the + # preamble and not the first actual line of source. + gdb.execute("next") gdb.execute("next") val_ctx = gdb.parse_and_eval("context->state[0]") exp_ctx = 0x67452301This double next seems just as fragile. Why don't you just set the breakpoint where you want, which appears to be sha1.c:138?
That said, make check-tcg has passed, completely, on my laptop for the first time in a year. So,
Tested-by: Richard Henderson <[email protected]> r~
