This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9681] gdb-weekly-6.8.50.20081216 lets you set watchpoints on nonexistent struct members
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 1 Jan 2009 22:02:18 -0000
- Subject: [Bug breakpoints/9681] gdb-weekly-6.8.50.20081216 lets you set watchpoints on nonexistent struct members
- References: <20081223222646.9681.pmaydell@chiark.greenend.org.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-01-01 22:02 -------
Subject: Bug 9681
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2009-01-01 22:02:03
Modified files:
gdb : ChangeLog breakpoint.c corefile.c exceptions.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: watchpoint.exp
Log message:
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* exceptions.h (enum errors): New error type, MEMORY_ERROR.
* corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
* breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
retrow all other exceptions.
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10057&r2=1.10058
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.368&r2=1.369
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/corefile.c.diff?cvsroot=src&r1=1.47&r2=1.48
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/exceptions.h.diff?cvsroot=src&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1783&r2=1.1784
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/watchpoint.exp.diff?cvsroot=src&r1=1.19&r2=1.20
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9681
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.