src/gdb ChangeLog thread.c

denis@sourceware.org denis@sourceware.org
Fri Feb 2 12:18:00 GMT 2007


CVSROOT:	/cvs/src
Module name:	src
Changes by:	denis@sourceware.org	2007-02-02 12:18:37

Modified files:
	gdb            : ChangeLog thread.c 

Log message:
	2007-02-02  Denis Pilat  <denis.pilat@st.com>
	
	* thread.c (make_cleanup_restore_current_thread): New function.
	(info_threads_command): Use of make_cleanup_restore_current_thread
	to restore the current thread and the selected frame.
	(restore_selected_frame): New function.
	(struct current_thread_cleanup): Add frame_id field.
	(do_restore_current_thread_cleanup): Add restoring of the selected
	frame.
	(make_cleanup_restore_current_thread): Likewise.
	(thread_apply_all_command): backup the selected frame while
	entering the function and restore it at exit.
	(thread_apply_command): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8150&r2=1.8151
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.49&r2=1.50



More information about the Gdb-cvs mailing list