[RFA 1/3] Linespec rewrite: Parsing

Keith Seitz keiths@redhat.com
Mon Mar 26 18:52:00 GMT 2012


On 03/26/2012 09:22 AM, Tom Tromey wrote:

> I was hoping we could get away with this change.  It seemed clearly sane
> to me, but apparently front-end authors disagree :)

At least one other front-end author has worked around previous bugs by
quoting the entire linespec. So it looks like we'll have to maintain
bug-for-bug compatibility on this.

> For Plan B I think we can treat quotes differently and preserve
> compatibility.  I'd rather not do this, but I think compatibility is
> more important than cleanliness.

I have pushed a patch to my archer branch which permits 
quote-encapsulating the linespec. I have also reverted the "invalid" 
linespec tests.

Keith



More information about the Gdb-patches mailing list