unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Nick Roberts <nickrob@snap.net.nz>, emacs-devel@gnu.org
Subject: Re: gdb --args does not work in emacs/src ...
Date: Mon, 11 Feb 2008 11:53:07 -0500	[thread overview]
Message-ID: <jwvmyq71lmx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200802111521.m1BFLcuE015301@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 11 Feb 2008 07:21:38 -0800")

>> > ... 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
args" is only problematic when I want to run Emacs without any argument
which is rare when debugging.


        Stefan




  reply	other threads:[~2008-02-11 16:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11  6:32 gdb --args does not work in emacs/src Dan Nicolaescu
2008-02-11  7:56 ` Nick Roberts
2008-02-11 15:21   ` Dan Nicolaescu
2008-02-11 16:53     ` Stefan Monnier [this message]
2008-02-11 17:09       ` Dan Nicolaescu
2008-02-11 16:59         ` Tom Tromey
2008-02-11 19:51         ` Nick Roberts
2008-02-15 22:43           ` Dan Nicolaescu
2008-02-15 22:58             ` Miles Bader
2008-02-17 13:22               ` Richard Stallman
2008-02-17 14:41                 ` Eli Zaretskii
2008-02-17 15:01                   ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmyq71lmx.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).