[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically modifying the gud-gdb command line
From: |
Emanuel Berg |
Subject: |
Re: Automatically modifying the gud-gdb command line |
Date: |
Tue, 23 Jun 2020 23:43:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Patrick Mahan wrote:
> I then manually modify that to be 'Run gud-gdb
> (like this): gdb --fullname -x routerd.gdbinit
> routerd core.1234' hit enter and gdb is launched
> with the GUD front-end and my symbols are loaded,
> all .so are found, etc. I can then begin my
> debugging, usually by first doing a 'info threads'.
>
> But what I am trying to achieve is a way to just
> have 'M-x gud-gdb <ENTER>' prompt with 'Run gud-gdb
> (like this): gdb --fullname routerd.gdbinit routerd
> core.1234'.
Aha, gotcha, then it is `gud-gud-gdb-command-name' !
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal