ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:32:40 +0000 (18:32 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:32:40 +0000 (18:32 +0000)
commit568d657528fe676571c95e51a2f64112782edfdb
treecc319c1e1b6e7d7cf018dcee6209662c250a5ffb
parent64e77c6d5fe85b9f3d20579b496f31c329b1e62b
ChangeLog:

* infrun.c (handle_inferior_event): Use current frame architecture
or thread architecture instead of current_gdbarch.  Pass to
handle_step_into_function and handle_step_into_function_backward.
(handle_step_into_function): Add GDBARCH parameter.  Use it instead
of current_gdbarch.
(handle_step_into_function_backward): Likewise.
(insert_step_resume_breakpoint_at_frame): Use frame architecture
instead of current_gdbarch.
(insert_step_resume_breakpoint_at_caller): Likewise.

testsuite/ChangeLog:

* gdb.base/annota1.exp: Allow multiple occurrences of the
frames-invalid annotation.
* gdb.cp/annota2.exp: Likewise.
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/annota1.exp
gdb/testsuite/gdb.cp/annota2.exp