This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Add visible flag to breakpoints.
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> Should it be an error instead (or made to work)?
Phil> I can make it an error. I decided not to do watchpoints.
Pedro> IMO, either of these would be better API than a silent ignore.
I agree.
Phil> The consequences of setting hidden watchpoints from a script that
Phil> could turn out to be software watchpoints seemed a little
Phil> troubling.
Pedro> IMO, it should the script writers' responsibility to weight that,
Pedro> but it's also okay to not support it until someone asks for it
Pedro> (though that someone would be happier if she didn't have to,
Pedro> obviously :-) ).
Yes, I agree with this as well.
Tom