mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
When reverse-stepping, only insert a resume breakpoint at ecs->stop_func_start
if the function start is known. Otherwise, keep single-stepping.
This commit is contained in:
@@ -4943,7 +4943,7 @@ process_event_stop_test:
|
||||
or stepped back out of a signal handler to the first instruction
|
||||
of the function. Just keep going, which will single-step back
|
||||
to the caller. */
|
||||
if (ecs->stop_func_start != stop_pc)
|
||||
if (ecs->stop_func_start != stop_pc && ecs->stop_func_start != 0)
|
||||
{
|
||||
struct symtab_and_line sr_sal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user