[PATCH 7/8] Remove readline hack from gdb_select

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Wed Aug 7 22:16:00 GMT 2019

On Wed, Aug 7, 2019 at 5:03 PM Tom Tromey <tom@tromey.com> wrote:
> >>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> Pedro> On 8/6/19 9:43 PM, Tom Tromey wrote:
> >> As discussed on gdb-patches, this removes the readline hack from the
> >> mingw-hdep.c version of gdb_select.  It's believed that this is not
> >> needed any more.
> Pedro> I may be hard to find the discussion later on.
> Pedro> Please add a link to the discussion to the commit log
> Pedro> pointing here:
> Pedro>  https://sourceware.org/ml/gdb-patches/2019-03/msg00465.html
> Thanks, I did this.
> Also, Christian Biesinger managed to build this branch on Windows and
> try it, which is very good news.

Yep, it worked fine (up/down arrow worked, Ctrl+R worked).

For reference, I compiled in cygwin but with mingw, using:
 ../configure --disable-binutils --disable-gas --disable-gold
--disable-gprof --disable-ld --disable-werror --disable-nls

I had to copy libwinpthread-1.dll to out/gdb.


More information about the Gdb-patches mailing list