From Nick Kelsey <nickk@ubicom.com>:

* infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
	when the stop PC is at the beginning of a function also.
This commit is contained in:
Daniel Jacobowitz 2003-09-07 15:15:01 +00:00
parent 3fb9d77f32
commit 9407de8ede
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2003-09-07 Daniel Jacobowitz <drow@mvista.com>
From Nick Kelsey <nickk@ubicom.com>:
* infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
when the stop PC is at the beginning of a function also.
2003-09-06 Daniel Jacobowitz <drow@mvista.com>
* arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.

View file

@ -2446,9 +2446,9 @@ process_event_stop_test:
return;
}
if (stop_pc == ecs->stop_func_start /* Quick test */
|| (in_prologue (stop_pc, ecs->stop_func_start) &&
!IN_SOLIB_RETURN_TRAMPOLINE (stop_pc, ecs->stop_func_name))
if (((stop_pc == ecs->stop_func_start /* Quick test */
|| in_prologue (stop_pc, ecs->stop_func_start))
&& !IN_SOLIB_RETURN_TRAMPOLINE (stop_pc, ecs->stop_func_name))
|| IN_SOLIB_CALL_TRAMPOLINE (stop_pc, ecs->stop_func_name)
|| ecs->stop_func_name == 0)
{