gdb/
authorGary Benson <gary@redhat.com>
Tue, 19 Jul 2011 12:24:34 +0000 (12:24 +0000)
committerGary Benson <gary@redhat.com>
Tue, 19 Jul 2011 12:24:34 +0000 (12:24 +0000)
commit7e324e482fe55600d1fff227944f6b4b98fbb96f
treef609d884cf11e0b4e1abdbdb0b795a27cab499ee
parentc8057f624ee9f59763786eafef50a25ab5f8e544
gdb/
* infrun.c (struct execution_control_state): New member
stop_func_filled_in.
(clear_stop_func, fill_in_stop_func): New functions.
(handle_inferior_event): Call clear_stop_func rather than
manipulating the execution control state directly.
Call fill_in_stop_func lazily as required rather than
directly calling find_pc_partial_function in all cases.
gdb/ChangeLog
gdb/infrun.c