diff options
author | Jeff Law <law@redhat.com> | 1995-07-04 17:48:37 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-07-04 17:48:37 +0000 |
commit | 88a294b1b7144dba23e36f9797772d9208995f8d (patch) | |
tree | b5768971fd24f58ca2a1424550d925ec151bd5a9 /gdb/ChangeLog | |
parent | 7158d2b1a33bdb747c3310f5fe5884dec8e31a72 (diff) | |
download | gdb-88a294b1b7144dba23e36f9797772d9208995f8d.zip gdb-88a294b1b7144dba23e36f9797772d9208995f8d.tar.gz gdb-88a294b1b7144dba23e36f9797772d9208995f8d.tar.bz2 |
* infrun.c (wait_for_inferior): When switching from one thread to
another, save infrun's state for the old thread and load infrun's
previous state for the new thread.
* thread.c (struct thread_info): Add new fields for thread specific
state saved/restored in infrun.c.
(add_thread): Initialize new fields.
(load_infrun_state): New function.
(save_infrun_state): New function.
* thread.h (load_infrun_state): Provide external decl.
(save_infrun_state): Likewise.
More single-stepping patches for lynx-6100.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2ff3c3f..2e24ebc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com> + * infrun.c (wait_for_inferior): When switching from one thread to + another, save infrun's state for the old thread and load infrun's + previous state for the new thread. + * thread.c (struct thread_info): Add new fields for thread specific + state saved/restored in infrun.c. + (add_thread): Initialize new fields. + (load_infrun_state): New function. + (save_infrun_state): New function. + * thread.h (load_infrun_state): Provide external decl. + (save_infrun_state): Likewise. + * infrun.c (wait_for_inferior): When we hit a breakpoint for the wrong thread, make sure to write the fixed PC value into the thread that stopped. Restart all threads after single stepping over a |