all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Live System User <nyc4bos@aol.com>
Cc: 25668@debbugs.gnu.org
Subject: bug#25668: 25.1; Emacs GDBINIT file error?
Date: Thu, 09 Feb 2017 22:52:07 +0200	[thread overview]
Message-ID: <83mvdv3x54.fsf@gnu.org> (raw)
In-Reply-To: <87lgtfkz57.fsf@aol.com> (message from Live System User on Thu, 09 Feb 2017 13:16:52 -0500)

> From: Live System User <nyc4bos@aol.com>
> Date: Thu, 09 Feb 2017 13:16:52 -0500
> 
>         This is what I see whe starting up GDB in Emacs:
> 
> 0. emacs -Q &
> 
> 1. M-x gdb
> gdb -i=mi /usr/bin/emacs
> 
> Current directory is /usr/bin/
> GNU gdb (GDB) Fedora 7.11-66.fc24
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> /home/liveuser/.gdbinit:19: Error in sourced command file:
> No symbol table is loaded.  Use the "file" command.
> Reading symbols from /usr/bin/emacs...Reading symbols from /usr/bin/emacs...(no debugging symbols found)...done.
> (no debugging symbols found)...done.
> (gdb) 

This is normal: your Emacs binary was stripped of any symbols, so you
cannot debug it on the source level, and all the commands in .gdbinit
are useless in that case.

If you want to debug Emacs, you need to get an unstripped binary.





      reply	other threads:[~2017-02-09 20:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09 18:16 bug#25668: 25.1; Emacs GDBINIT file error? Live System User
2017-02-09 20:52 ` Eli Zaretskii [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

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

  git send-email \
    --in-reply-to=83mvdv3x54.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25668@debbugs.gnu.org \
    --cc=nyc4bos@aol.com \
    /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.