[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb adds random filename to command
From: |
Nick Roberts |
Subject: |
Re: gdb adds random filename to command |
Date: |
Wed, 17 Jan 2007 13:53:34 +1300 |
> I loaded a lisp file like this "emacs -l foo.lisp" at the command line.
> That file contained one line:
> (setq gud-gdb-command-name "gdb --annotate=3 /tmp/foo")
>
> When I tried to run gdb using M-x gdb, it added a random filename from
> the working directory to the end of the gdb command like this:
> gdb --annotate=3 foo randomfilename
That's because it tries now to guess the name of the executable that you
want to debug.
> Although it's possible, I'm doing something wrong, the behavior is
> different with older versions of emacs.
It looks like gud-gdb-command-name wasn't documented in earlier Emacsen but
it is now:
Documentation:
Default command to execute an executable under the GDB debugger.
It's also mentioned in the Emacs manual now. I suggest that you leave it at
it's default value and type in the name of the executable.
--
Nick http://www.inet.net.nz/~nickrob
- gdb adds random filename to command, David L, 2007/01/16
- Re: gdb adds random filename to command,
Nick Roberts <=
- Re: gdb adds random filename to command, David L, 2007/01/17
- Re: gdb adds random filename to command, Nick Roberts, 2007/01/17
- Re: gdb adds random filename to command, David L, 2007/01/18
- Re: gdb adds random filename to command, Nick Roberts, 2007/01/18
- Re: gdb adds random filename to command, Stefan Monnier, 2007/01/19
- Re: gdb adds random filename to command, David L, 2007/01/19
- Re: gdb adds random filename to command, David L, 2007/01/18
- Re: gdb adds random filename to command, Kevin Rodgers, 2007/01/18