diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-09-07 15:15:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-09-07 15:15:01 +0000 |
commit | 9407de8ede3b794226c2601468bb0c967e392245 (patch) | |
tree | 7de405ad864fe54fc7e567e8e2c7304a4cc57feb /gdb | |
parent | 3fb9d77f32c116cf9f119f22960c547d82d69551 (diff) | |
download | gdb-9407de8ede3b794226c2601468bb0c967e392245.zip gdb-9407de8ede3b794226c2601468bb0c967e392245.tar.gz gdb-9407de8ede3b794226c2601468bb0c967e392245.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/infrun.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 418a2a5..54b3829 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/infrun.c b/gdb/infrun.c index b2e371e..01460ef 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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) { |