diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-24 16:45:49 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-24 16:45:49 +0000 |
commit | 34e13b5b1eb2661e03ce86b039256328857ba2d8 (patch) | |
tree | c8667729b9c7563a6b3d2ebc1009fc81b2f0049d /gdb/infrun.c | |
parent | 0fd8e87fea23317d3db05d5d4ec5c97a5250bb21 (diff) | |
download | gdb-34e13b5b1eb2661e03ce86b039256328857ba2d8.zip gdb-34e13b5b1eb2661e03ce86b039256328857ba2d8.tar.gz gdb-34e13b5b1eb2661e03ce86b039256328857ba2d8.tar.bz2 |
* eval.c (evaluate_subexp_standard): Use expression architecture
instead of current_gdbarch.
* infrun.c (handle_inferior_event): Avoid unncessary reference
to current_gdbarch and get_current_frame ().
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index e9d870d..980bde8 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3777,9 +3777,7 @@ infrun: not switching back to stepped thread, it has vanished\n"); keep_going (ecs); return; } - if (gdbarch_skip_trampoline_code(current_gdbarch, - get_current_frame (), - stop_pc)) + if (gdbarch_skip_trampoline_code (gdbarch, frame, stop_pc)) { /* We are in a function call trampoline. Keep stepping backward to get to the caller. */ |