[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb adds random filename to command

From: David L
Subject: gdb adds random filename to command
Date: Tue, 16 Jan 2007 15:13:52 -0800

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

Although it's possible, I'm doing something wrong, the behavior is
different with older versions of emacs.

In GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-01-10 on beavis.linux.home
X server distributor `The X.Org Foundation', version 11.0.70101000
Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: en_US.UTF-8
 locale-coding-system: utf-8
 default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
 tooltip-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 line-number-mode: t

Recent input:
<escape> x g d b <return> <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-b

Recent messages:
(emacs -l foo.lisp)
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading gud...
Loading easy-mmode...done
Loading gud...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done

Dave vs. Carl: The Insignificant Championship Series.  Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001

reply via email to

[Prev in Thread] Current Thread [Next in Thread]