This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11557] Stale register and frame info in non-stop/async modes, just after resuming a thread
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 29 Apr 2010 16:45:00 -0000
- Subject: [Bug gdb/11557] Stale register and frame info in non-stop/async modes, just after resuming a thread
- References: <20100429143425.11557.pedro@codesourcery.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-04-29 16:33 -------
Subject: Bug 11557
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2010-04-29 16:33:16
Modified files:
gdb : ChangeLog regcache.c regcache.h target.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.mi: mi-ns-stale-regcache.exp
ns-stale-regcache.c
Log message:
PR gdb/11557
gdb/
* regcache.c (registers_changed): Rename to ...
(registers_changed_ptid): ... this, and only delete register cache
entries matching the ptid filter argument.
(registers_changed): Reimplement on top of registers_changed_ptid.
* regcache.h (registers_changed_ptid): Declare.
* target.c (target_resume): Flush register caches.
gdb/testsuite/
* gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
files.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11699&r2=1.11700
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/regcache.c.diff?cvsroot=src&r1=1.177&r2=1.178
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/regcache.h.diff?cvsroot=src&r1=1.66&r2=1.67
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c.diff?cvsroot=src&r1=1.247&r2=1.248
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2258&r2=1.2259
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/ns-stale-regcache.c.diff?cvsroot=src&r1=NONE&r2=1.1
------- Additional Comments From pedro at codesourcery dot com 2010-04-29 16:45 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|7.1 |7.2
http://sourceware.org/bugzilla/show_bug.cgi?id=11557
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.