[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb --args does not work in emacs/src ...
From: |
Dan Nicolaescu |
Subject: |
Re: gdb --args does not work in emacs/src ... |
Date: |
Mon, 11 Feb 2008 09:09:46 -0800 |
Stefan Monnier <address@hidden> writes:
> >> > ... because .gdbinit overwrites args:
> >> >
> >> > set args -geometry 80x40+0+0
> >> >
> >> > this is annoying when one wants to start the debugger with specific
> >> > arguments on the command line.
> >>
> >> I guess it guarantees that everyone is debugging Emacs under more similar
> >> conditions. You can always comment that line out in your version.
>
> > Sure I've been doing that for a long time, but it would be even better
> > if I didn't have to do it.
>
> > Is it possible to append to args?
> > Or maybe only set it if it's not already set?
>
> I always specify the args directly to the "run" command, so the "set
That's a habit that precedes the availability of gdb --args...
> args" is only problematic when I want to run Emacs without any argument
> which is rare when debugging.
Not so rare when you use gdb --args, which is all the time for me nowadays.
It's very convenient to just prepend gdb --args to the command you want
to debug (which is probably already available in the shell command
history) and not have to worry about passing arguments to "run"...
- gdb --args does not work in emacs/src ..., Dan Nicolaescu, 2008/02/11
- Re: gdb --args does not work in emacs/src ..., Nick Roberts, 2008/02/11
- Re: gdb --args does not work in emacs/src ..., Dan Nicolaescu, 2008/02/11
- Re: gdb --args does not work in emacs/src ..., Stefan Monnier, 2008/02/11
- Re: gdb --args does not work in emacs/src ...,
Dan Nicolaescu <=
- Re: gdb --args does not work in emacs/src ..., Tom Tromey, 2008/02/11
- Re: gdb --args does not work in emacs/src ..., Nick Roberts, 2008/02/11
- Re: gdb --args does not work in emacs/src ..., Dan Nicolaescu, 2008/02/15
- Re: gdb --args does not work in emacs/src ..., Miles Bader, 2008/02/15
- Re: gdb --args does not work in emacs/src ..., Richard Stallman, 2008/02/17
- Re: gdb --args does not work in emacs/src ..., Eli Zaretskii, 2008/02/17
- Re: gdb --args does not work in emacs/src ..., David Kastrup, 2008/02/17