This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog thread.c gdbthread.h infrun.c
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb ChangeLog thread.c gdbthread.h infrun.c
- From: msnyder at sourceware dot cygnus dot com
- Date: 13 Jun 2001 22:56:17 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: msnyder@sources.redhat.com 2001-06-13 15:56:17
Modified files:
gdb : ChangeLog thread.c gdbthread.h infrun.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.1347&r2=1.1348
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbthread.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.35&r2=1.36