Subject: Re: bug#12358: 24.2; M-x gud-gdb on remote binary does not work

From: Glenn Morris <[email-masked]>
Date: Tue, 23 Oct 2012 13:50:53 -0400

Version: 24.3

Paul K wrote:

> prompt$ emacs --eval '(toggle-debug-on-error)'
>
> then within emacs visit directory with some binary You want to debug
> on some remote machine (my remote machine is running RH6, but
> it probably does not matter) and issue:
>
> M-x gud-gdb: theBinary
>
> You will receive following error:
> Debugger entered--Lisp error: (void-variable gdb-active-process)

Thanks. I installed a fix for this, which is not restricted to remote
binaries, but does only show up when debug-on-error is non-nil.