* linespec.c:cplusplus_hint()?
@ 2002-01-30 20:35 Andrew Cagney
2002-01-30 20:55 ` linespec.c:cplusplus_hint()? Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2002-01-30 20:35 UTC (permalink / raw)
To: gdb-patches
Hello,
I'm wondering if the function:
/* While the C++ support is still in flux, issue a possibly helpful hint on
using the new command completion feature on single quoted demangled C++
symbols. Remove when loose ends are cleaned up. FIXME -fnf */
static void
cplusplus_hint (char *name)
{
while (*name == '\'')
name++;
printf_filtered ("Hint: try '%s<TAB> or '%s<ESC-?>\n", name, name);
printf_filtered ("(Note leading single quote.)\n");
}
is still needed. I'm not worried either way but if it is, I'll change
it and its calls a little.
enjoy,
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linespec.c:cplusplus_hint()?
2002-01-30 20:35 linespec.c:cplusplus_hint()? Andrew Cagney
@ 2002-01-30 20:55 ` Daniel Jacobowitz
2002-01-30 21:11 ` linespec.c:cplusplus_hint()? Christopher Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-01-30 20:55 UTC (permalink / raw)
To: gdb-patches
On Wed, Jan 30, 2002 at 11:34:58PM -0500, Andrew Cagney wrote:
> Hello,
>
> I'm wondering if the function:
>
> /* While the C++ support is still in flux, issue a possibly helpful hint on
> using the new command completion feature on single quoted demangled C++
> symbols. Remove when loose ends are cleaned up. FIXME -fnf */
>
> static void
> cplusplus_hint (char *name)
> {
> while (*name == '\'')
> name++;
> printf_filtered ("Hint: try '%s<TAB> or '%s<ESC-?>\n", name, name);
> printf_filtered ("(Note leading single quote.)\n");
> }
>
> is still needed. I'm not worried either way but if it is, I'll change
> it and its calls a little.
My vote is to keep it. Using completion on something inside single
quotes is not obvious to me.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linespec.c:cplusplus_hint()?
2002-01-30 20:55 ` linespec.c:cplusplus_hint()? Daniel Jacobowitz
@ 2002-01-30 21:11 ` Christopher Faylor
2002-01-31 10:52 ` linespec.c:cplusplus_hint()? Andrew Cagney
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2002-01-30 21:11 UTC (permalink / raw)
To: gdb-patches
On Wed, Jan 30, 2002 at 11:55:44PM -0500, Daniel Jacobowitz wrote:
>On Wed, Jan 30, 2002 at 11:34:58PM -0500, Andrew Cagney wrote:
>> Hello,
>>
>> I'm wondering if the function:
>>
>> /* While the C++ support is still in flux, issue a possibly helpful hint on
>> using the new command completion feature on single quoted demangled C++
>> symbols. Remove when loose ends are cleaned up. FIXME -fnf */
>>
>> static void
>> cplusplus_hint (char *name)
>> {
>> while (*name == '\'')
>> name++;
>> printf_filtered ("Hint: try '%s<TAB> or '%s<ESC-?>\n", name, name);
>> printf_filtered ("(Note leading single quote.)\n");
>> }
>>
>> is still needed. I'm not worried either way but if it is, I'll change
>> it and its calls a little.
>
>My vote is to keep it. Using completion on something inside single
>quotes is not obvious to me.
Ditto. I think that message is what actually clued me into the fact that I could
do this.
cgf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linespec.c:cplusplus_hint()?
2002-01-30 21:11 ` linespec.c:cplusplus_hint()? Christopher Faylor
@ 2002-01-31 10:52 ` Andrew Cagney
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2002-01-31 10:52 UTC (permalink / raw)
To: Christopher Faylor, Daniel Jacobowitz; +Cc: gdb-patches
> is still needed. I'm not worried either way but if it is, I'll change
>>> it and its calls a little.
>
>>
>>My vote is to keep it. Using completion on something inside single
>>quotes is not obvious to me.
>
>
> Ditto. I think that message is what actually clued me into the fact that I could
> do this.
Thanks. Now that I know why my change caused 500 failures :-) I'll post
a patch.
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-31 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-30 20:35 linespec.c:cplusplus_hint()? Andrew Cagney
2002-01-30 20:55 ` linespec.c:cplusplus_hint()? Daniel Jacobowitz
2002-01-30 21:11 ` linespec.c:cplusplus_hint()? Christopher Faylor
2002-01-31 10:52 ` linespec.c:cplusplus_hint()? Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox