Re: GDB with Guile for Debian

Simon Marchi via Gdb <[email protected]> Fri, 7 Nov 2025 00:02:56 -0500
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>

On 2025-11-06 12:16, Basile Starynkevitch wrote:
> (I would like but don't know how to configure and build it so that it goes into /usr/local/bin/my-gdb ....)

--program-prefix=my-

> I also have a suggestion but don't have the qualification and time to implement it. Have Python-enabled GDB to look for a .gdbinit-python before a .gdbinit, and have 
> Guile-enabled GDB to look for .gdbinit-guile before the .gdbinit.

I don't have a strong opinion on this, but in your .gdbinit, you can put
a "source foo.py" line to do pretty much that.

Simon