* infrun.c (wait_for_inferior): When switching from one thread to
authorJeff Law <law@redhat.com>
Tue, 4 Jul 1995 17:48:37 +0000 (17:48 +0000)
committerJeff Law <law@redhat.com>
Tue, 4 Jul 1995 17:48:37 +0000 (17:48 +0000)
commit88a294b1b7144dba23e36f9797772d9208995f8d
treeb5768971fd24f58ca2a1424550d925ec151bd5a9
parent7158d2b1a33bdb747c3310f5fe5884dec8e31a72
    * 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.
gdb/ChangeLog
gdb/thread.c
gdb/thread.h