Re: Two observations using GDB 13 snapshot

Eli Zaretskii via Gdb-patches
2023-01-07T15:07:01Z

> Date: Sat, 07 Jan 2023 16:29:09 +0200
> Cc: gdb-patches@sourceware.org
> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,
> DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT,
> RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS,
> TXREP autolearn=no autolearn_force=no version=3.4.6
> From: Eli Zaretskii via Gdb-patches <gdb-patches@sourceware.org>
>
> > From: Andreas Schwab <schwab@linux-m68k.org>
> > Cc: gdb-patches@sourceware.org
> > Date: Sat, 07 Jan 2023 15:23:35 +0100
> >
> > On Jan 07 2023, Eli Zaretskii wrote:
> >
> > > GNU gdb ((MinGW32 GDB)) 13.0.50.20221217-git
> > > Copyright (C) 2022 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.
> > > Type "show copying" and "show warranty" for details.
> > > This GDB was configured as "i686-pc-mingw32".
> > > Type "show configuration" for configuration details.
> > > For bug reporting instructions, please see:
> > > <https://www.gnu.org/software/gdb/bugs/>.
> > > Find the GDB manual and other documentation resources online at:
> > > <http://www.gnu.org/software/gdb/documentation/>.
> > >
> > > For help, type "help".
> > > Type "apropos word" to search for commands related to "word"...
> > > Reading symbols from ./gdb.exe...
> >
> > Here you should see a warning:
> >
> > warning: File "[...]/gdb-gdb.gdb" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
> >
> > Does it help to copy gdb.exe to gdb and use that?
>
> Probably.

Actually, it's impossible to do that, since the gdb directory already
includes a gdb.exe (which is a libtool wrapper). Copying gdb-gdb.gdb
to .libs is thus the only way.