GNU bug report logs - #25668
25.1; Emacs GDBINIT file error?

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Thu, 9 Feb 2017 18:18:02 UTC

Severity: minor

Tags: notabug

Found in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Live System User <nyc4bos <at> aol.com>
Cc: 25668 <at> debbugs.gnu.org
Subject: bug#25668: 25.1; Emacs GDBINIT file error?
Date: Thu, 09 Feb 2017 22:52:07 +0200
> From: Live System User <nyc4bos <at> 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.




This bug report was last modified 8 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.