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: C++ support improvement patch


Daniel Jacobowitz schrieb:

>>o) For TAB-expansion, it removes the ":" as word-delimiter for
>>readline, thus allowing to find names in namespaces. The current
>>behaivour here is completely unusable for C++. The patch could
>>be better, though, it should read template argument delimiters < >
>>and function argument delimiters ( ) as "quotation characters",
>>though it doesn't. Though it's a huge improvement compared to
>>previous versions where TAB expansion was just not usable for C++.
> 
> 
> This isn't the right fix, though.  Someone posted (Pierre Muller, a
> long time ago - April 2002!) an initial patch to make tab completion
> context sensitive (for Pascal) - tab complete to the colon, type the
> colon, and then tab complete structure members after the colon.
> 
> It isn't suitable as-is and no one ever had time to go back and improve
> it but that's what ought to be done.
> 

I also would be very interested in this part of an acceptable patch as
to possibly take a shot at fixing tab completion for Objective-C methods.

/me searches the archives
I think you mean:
http://sources.redhat.com/ml/gdb-patches/2002-04/msg00774.html

It would also be interesting to know if Apple has an acceptable proposal
for this especially in light of Objective-C++.

Cheers,
David


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