This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/RFA] Add handling for unqualified Ada operators in linespecs


> Joel> This patch enhances the linespec parser to recognize unqualified
> Joel> operator names in linespecs. This allows the user to insert a breakpoint
> Joel> on operator "+" as follow, for instance:
> Joel>         (gdb) break "+"
> 
> I think it is fine to allow this.

Thanks! I have committed this patch.

> I wonder whether this requires a documentation change.

Given that from an Ada programer's perpective, there is nothing special
about this name, so I do not think so. I checked the Ada part of the
manual, and it didn't say that we were not supporting these breakpoints.
So I think we're good.

As stated earlier, I am open to further adjustments if it makes
it easier to deal with the quotes...  This could prepare the ground
before Keith's patch comes in, rather than after. I just don't know
enough of Keith's patch yet to be sure which approach to take.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]