This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9562] Incorrect handling of erroneous breakpoint conditions
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 8 Jan 2009 19:12:19 -0000
- Subject: [Bug breakpoints/9562] Incorrect handling of erroneous breakpoint conditions
- References: <20080513215801.9562.fchouinard@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2009-01-08 19:12 -------
I suspect this behavior is intentional, though I am not certain.
One rationale for it would be that an expression might parse correctly
after gdb loads more symbols -- for example, after a shared library is loaded.
Maybe we could do a bit better by having the parsers throw different
exceptions for the "symbol is missing" and "general syntax error" cases.
However, even this is seems problematic for C, due to macro expansion.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9562
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.