This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.8.92 available for testing
- From: Andreas Schwab <schwab at redhat dot com>
- To: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- Cc: "'Ralf Corsepius'" <ralf dot corsepius at rtems dot org>, "'Joel Brobecker'" <brobecker at adacore dot com>, <gdb at sourceware dot org>, "'Jan Kratochvil'" <jan dot kratochvil at redhat dot com>, "'Tom Tromey'" <tromey at redhat dot com>
- Date: Thu, 01 Oct 2009 11:40:15 +0200
- Subject: Re: GDB 6.8.92 available for testing
- References: <20090930204828.GB31446@adacore.com> <4AC41F44.1040502@rtems.org> <m3ljjva3tl.fsf@hase.home> <002e01ca427a$5f1363b0$1d3a2b10$@u-strasbg.fr>
"Pierre Muller" <muller@ics.u-strasbg.fr> writes:
> Andreas,
>
> why don't you simply use this?
> #if RL_VERSION_MAJOR >= 6
> extern int _rl_echoing_p;
> #define readline_echoing_p _rl_echoing_p
> #else
> extern int readline_echoing_p;
> #endif
>
> This would make your patch simpler, no?
>
> Is there a reason for replacing all
> readline_echoing_p by _rl_echoing_p?
As explained in the mail, I want to emphasize that it is an internal
readline variable (as noticeable from the leading underscore).
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."