mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 23:57:03 +08: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:
@ -1,3 +1,8 @@
|
|||||||
|
2013-09-18 Markus Metzger <markus.t.metzger@intel.com>
|
||||||
|
|
||||||
|
* infrun.c (handle_inferior_event): Check if we know the
|
||||||
|
function start address before setting a resume breakpoint.
|
||||||
|
|
||||||
2013-09-18 Pedro Alves <palves@redhat.com>
|
2013-09-18 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to
|
* gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to
|
||||||
|
@ -4943,7 +4943,7 @@ process_event_stop_test:
|
|||||||
or stepped back out of a signal handler to the first instruction
|
or stepped back out of a signal handler to the first instruction
|
||||||
of the function. Just keep going, which will single-step back
|
of the function. Just keep going, which will single-step back
|
||||||
to the caller. */
|
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;
|
struct symtab_and_line sr_sal;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user