This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: new struct breakpoint component cond_language...
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 17 May 2010 09:47:17 -0600
- Subject: Re: RFC: new struct breakpoint component cond_language...
- References: <20100510215421.GJ2957@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> So, taking both of these elements into account, I deduce that
Joel> breakpoints should also store a condition_language which should be
Joel> used in order to parse our condition, because it can be different
Joel> from the breakpoint language.
BTW, this is PR 9113, which I filed some years ago and then forgot :)
In that case, I was explicitly setting a c++-language condition on a
java breakpoint. Then gdb reparsed the condition using java rather than
c++.
Tom