Re: [RFA] 12843

Tom Tromey
2011-08-30T15:00:56Z

>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Tom> My first reaction is against this, but I don't have a particularly good
Tom> explanation for that. I will think about it.

Keith> Is there actually any reason to require a flag? Couldn't we simply
Keith> allow either a flag-based location _or_ a linespec, but not both,

I think there are 2 ideas here.

For MI we can just add options, as you say. This causes no problems for
compatibility; it may be a bit of a pain to implement, but nothing
crazily difficult, just some more virtual methods in breakpoint.

I thought Andre's proposal about "set breakpoint syntax 2011" was
specifically for the CLI, where it would switch from linespec to
something new. That's what I was responding to.

Keith> I wouldn't be surprised if IDEs adopted the flag-based version
Keith> very quickly.

Yeah. I filed a bug for this:
http://sourceware.org/bugzilla/show_bug.cgi?id=13139

Tom