From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: gdb call with core
Date: Fri, 12 May 2006 14:25:06 +0300 [thread overview]
Message-ID: <uwtcr7ael.fsf@gnu.org> (raw)
In-Reply-To: <q5gac9n4lbl.fsf@sfsw51.de.lucent.com> (message from Klaus Zeitler on Fri, 12 May 2006 11:57:34 +0200)
> From: Klaus Zeitler <kzeitler@lucent.com>
> Date: Fri, 12 May 2006 11:57:34 +0200
>
> When the core file is not in the same dir as the emacs image, I can call
> gdb in the dir, where the core file resides, with:
> "gdb <path-to-emacs>/emacs core".
> This doesn't work in emacs, here I have to specify:
> "<path-to-emacs>/emacs <path-to-core-dir>/core"
What happens if you type "M-x cd RET <path-to-core-dir> RET", before
invoking GDB (you may need to switch to a buffer that doesn't visit
any file, before you invoke `cd')? Does it work then?
Emacs behaves as if you were in the current buffer's
default-directory; if that is not where the core file resides, the
behavior you describe is perfectly reasonable and expected.
next prev parent reply other threads:[~2006-05-12 11:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 9:57 gdb call with core Klaus Zeitler
2006-05-12 11:25 ` Eli Zaretskii [this message]
2006-05-12 11:50 ` Klaus Zeitler
2006-05-12 13:36 ` Eli Zaretskii
2006-05-12 14:26 ` Stefan Monnier
2006-05-13 6:59 ` Nick Roberts
2006-05-13 16:25 ` Stefan Monnier
2006-05-13 21:45 ` Nick Roberts
2006-05-15 6:14 ` Klaus Zeitler
2006-05-15 20:37 ` Eli Zaretskii
[not found] ` <17509.46549.5651.16043@localhost.localdomain>
2006-05-12 12:03 ` Klaus Zeitler
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=uwtcr7ael.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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).