This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2250
- From: uweigand at sourceware dot org
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 17 Nov 2008 18:58:01 -0000
- Subject: gdb/2250
- Reply-to: uweigand at sourceware dot org
The following reply was made to PR gdb/2250; it has been noted by GNATS.
From: uweigand@sourceware.org
To: gdb-gnats@sourceware.org
Cc:
Subject: gdb/2250
Date: 17 Nov 2008 18:50:22 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: uweigand@sourceware.org 2008-11-17 18:50:22
Modified files:
gdb : ChangeLog infrun.c
Log message:
PR gdb/2250
* infrun.c (clear_proceed_status_thread): New function.
(clear_proceed_status_callback): New function.
(clear_proceed_status): In all-stop mode, clear per-thread
proceed status of *all* threads, not only the current.
(handle_inferior_event): In all-stop mode, if we're stepping
one thread, but got some inferior event in another thread
that does not cause GDB to break to the user interface,
ensure the interrupted stepping operation continues in the
original thread.
(currently_stepping): Move thread-related tests to ...
(currently_stepping_thread): ... this new function.
(currently_stepping_callback): New function.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9980&r2=1.9981
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.337&r2=1.338