This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC stub-side break conditions 3/5] GDB-side changes
- From: Eli Zaretskii <eliz at gnu dot org>
- To: "Gustavo, Luis" <luis_gustavo at mentor dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 07 Jan 2012 09:53:59 +0200
- Subject: Re: [RFC stub-side break conditions 3/5] GDB-side changes
- References: <4F05BA10.3090107@mentor.com> <83y5tlnrsx.fsf@gnu.org> <4F07779A.10808@mentor.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 06 Jan 2012 20:37:14 -0200
> From: Luis Machado <luis_gustavo@mentor.com>
> CC: gdb-patches@sourceware.org
>
> > Btw, what happens if I set the mode to "stub" and the sub does not
> > support this? Do I get any feedback, and if so, at what time?
>
> If the target (stub) does not advertise support for condition
> evaluation, nothing will happen. We will fallback to "gdb" mode
> automatically.
>
> Target-side condition evaluation only happens if:
>
> 1 - Target supports it (via ConditionalBreakpoints feature).
> 2 - breakpoint condition-evaluation is "auto" or "stub".
>
> There isn't a warning message though.
Should there be some feedback somewhere?