From: Nick Roberts <nickrob@snap.net.nz>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Question on debugging emacs with gdb
Date: Mon, 28 Feb 2005 14:32:08 +1300 [thread overview]
Message-ID: <16930.29848.619072.691066@farnswood.snap.net.nz> (raw)
In-Reply-To: <m3r7j1k3va.fsf@naru.home>
> > Start GDB from the Emacs's src directory. There's a .gdbinit file
> > there that takes care of this problem. (The etc/DEBUG file actually
> > tells you that as its first advice.)
>
>
> As far as I can determine, my gdb instance is running with this
> .gdbinit.
>
> Heres gdb:s startup message:
>
> GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux-gnu".
> .gdbinit:22: Error in sourced command file:
^^^^^^^^^^^^^^^^^^
> No symbol table is loaded. Use the "file" command.
^^^^^^^^^^^^^^^^^^^^^^^^^
Start GDB with 'gdb emacs' not just 'gdb'. Then there should be no error,
GDB will read the rest of .gdbinit and C-g will be handled properly.
Nick
> Then I do:
>
> attach PID
>
> all from different screen windows in a screen session running under ssh.
prev parent reply other threads:[~2005-02-28 1:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-27 20:27 Question on debugging emacs with gdb Joakim Verona
2005-02-27 22:29 ` Eli Zaretskii
2005-02-27 22:57 ` Joakim Verona
2005-02-28 1:32 ` Nick Roberts [this message]
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=16930.29848.619072.691066@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=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).