aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpux-thread.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-07-09 22:33:16 +0000
committerPedro Alves <palves@redhat.com>2008-07-09 22:33:16 +0000
commit0d1e5fa71a5d8e2f5df7494830a5a3053eeaec71 (patch)
tree314e9c999eb4ac3cbedba62208ee2719688529c9 /gdb/hpux-thread.c
parenta474d7c2a38f227e95b863f621856ecf1570cc02 (diff)
downloadbinutils-0d1e5fa71a5d8e2f5df7494830a5a3053eeaec71.zip
binutils-0d1e5fa71a5d8e2f5df7494830a5a3053eeaec71.tar.gz
binutils-0d1e5fa71a5d8e2f5df7494830a5a3053eeaec71.tar.bz2
Refactor infrun a bit.
* infrun.c (currently_stepping): Take a struct thread_stepping_state instead of an execution_control_state. (struct thread_stepping_state): New, split from execution_control_state. (gtss, tss): New globals. (proceed): Clear the stepping state, set previous_inferior_ptid and clear infwait state. (init_wait_for_inferior): Clear the stepping state, previous_inferior_ptid and infwait state. (waiton_ptid, infwait_state): New, split from execution_control_state. (struct execution_control_state): Members that persist through events moved out to either struct thred_stepping_state or made global. Deleted unneeded wp, saved_inferior_ptid, tmpstatus. (wait_for_inferior, fetch_inferior_event): Use local execution_control_state. Update to execution_control_state split. (init_execution_control_state): Adjust. (init_thread_stepping_state): New, extracted from init_execution_control_state. (context_switch): Take a ptid instead of an execution_control_state. (context_switch_to): Adjust. (adjust_pc_after_break): Adjust. (init_infwait_state): New. (handle_inferior_event): Adjust.
Diffstat (limited to 'gdb/hpux-thread.c')
0 files changed, 0 insertions, 0 deletions