all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: gdb --args does not work in emacs/src ...
Date: Tue, 12 Feb 2008 08:51:45 +1300	[thread overview]
Message-ID: <18352.42833.554345.573615@kahikatea.snap.net.nz> (raw)
In-Reply-To: <200802111709.m1BH9mrX004400@sallyv1.ics.uci.edu>

 > 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) 

You only need to start gdb once as it will re-read the symbols if you edit and
recompile Emacs.

>          and not have to worry about passing arguments to "run"...

That way the you only need to pass arguments to run once just as you
would on the command line with gdb --args and you keep the gdb history.

OTOH , it doesn't bother me if you want to delete the set args line from
.gdbinit in the repository.


-- 
Nick                                           http://www.inet.net.nz/~nickrob




  parent reply	other threads:[~2008-02-11 19:51 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
2008-02-11 17:09       ` Dan Nicolaescu
2008-02-11 16:59         ` Tom Tromey
2008-02-11 19:51         ` Nick Roberts [this message]
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

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

  git send-email \
    --in-reply-to=18352.42833.554345.573615@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.