diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-06-13 22:56:16 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-06-13 22:56:16 +0000 |
commit | 6c0d3f6a034437ee436b20784a4a4eee92163395 (patch) | |
tree | 516ea56a75a018cd979f5e9023301509d9f8befa /ld/ldwrite.h | |
parent | 16075aced5830467024fec7c8229cbcbfa3a47c9 (diff) | |
download | gdb-6c0d3f6a034437ee436b20784a4a4eee92163395.zip gdb-6c0d3f6a034437ee436b20784a4a4eee92163395.tar.gz gdb-6c0d3f6a034437ee436b20784a4a4eee92163395.tar.bz2 |
2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdbthread.h (struct thread_info): Add new fields:
current_line, current_symtab, step_sp, for saved infrun state.
* thread.c (save_infrun_state, load_infrun_state): Save and
restore current_line, current_symtab, and step_sp.
(add_thread): Rather than adding assignments to initialize
the new fields, just use memset (tp, 0, sizeof (*tp).
This way future new fields will not be overlooked.
* infrun.c (handle_inferior_event): Save and restore save_sp,
current_line, and current_symtab when switching threads.
Diffstat (limited to 'ld/ldwrite.h')
0 files changed, 0 insertions, 0 deletions