gdb/ * infcmd.c (finish_backward): Set a step-resume breakpoint at the function's entry point instead of a manually managed momentary breakpoint, and only ever issue one proceed call. * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If doing a reverse-finish, switch to stepi mode, to do another step. (insert_step_resume_breakpoint_at_sal): Make public. (normal_stop): No need to save function value return registers if going reverse. * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. gdb/testsuite/ * gdb.reverse/finish-reverse-bkpt.exp: New test. |
||
---|---|---|
.. | ||
Makefile.in | ||
break-precsave.exp | ||
break-reverse.c | ||
break-reverse.exp | ||
consecutive-precsave.exp | ||
consecutive-reverse.c | ||
consecutive-reverse.exp | ||
finish-precsave.exp | ||
finish-reverse-bkpt.exp | ||
finish-reverse.c | ||
finish-reverse.exp | ||
i386-precsave.exp | ||
i386-reverse.c | ||
i386-reverse.exp | ||
i386-sse-reverse.c | ||
i386-sse-reverse.exp | ||
i387-env-reverse.c | ||
i387-env-reverse.exp | ||
i387-stack-reverse.c | ||
i387-stack-reverse.exp | ||
machinestate-precsave.exp | ||
machinestate.c | ||
machinestate.exp | ||
ms1.c | ||
next-reverse-bkpt-over-sr.exp | ||
shr2.c | ||
sigall-precsave.exp | ||
sigall-reverse.c | ||
sigall-reverse.exp | ||
solib-precsave.exp | ||
solib-reverse.c | ||
solib-reverse.exp | ||
step-precsave.exp | ||
step-reverse.c | ||
step-reverse.exp | ||
until-precsave.exp | ||
until-reverse.c | ||
until-reverse.exp | ||
ur1.c | ||
watch-precsave.exp | ||
watch-reverse.c | ||
watch-reverse.exp |