From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25668: 25.1; Emacs GDBINIT file error? Date: Thu, 09 Feb 2017 22:52:07 +0200 Message-ID: <83mvdv3x54.fsf@gnu.org> References: <87lgtfkz57.fsf@aol.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486673591 5904 195.159.176.226 (9 Feb 2017 20:53:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2017 20:53:11 +0000 (UTC) Cc: 25668@debbugs.gnu.org To: Live System User Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 21:53:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbviD-0001Fp-LZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 21:53:05 +0100 Original-Received: from localhost ([::1]:40194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbviI-0004La-Vz for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 15:53:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbviD-0004LU-9I for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 15:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbviA-0007tU-4y for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 15:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbviA-0007tH-1T for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 15:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cbvi9-00053x-RL for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 15:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2017 20:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25668 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25668-submit@debbugs.gnu.org id=B25668.148667354119413 (code B ref 25668); Thu, 09 Feb 2017 20:53:01 +0000 Original-Received: (at 25668) by debbugs.gnu.org; 9 Feb 2017 20:52:21 +0000 Original-Received: from localhost ([127.0.0.1]:33482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbvhV-000533-D8 for submit@debbugs.gnu.org; Thu, 09 Feb 2017 15:52:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbvhU-00052s-9Q for 25668@debbugs.gnu.org; Thu, 09 Feb 2017 15:52:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbvhL-0007ge-Ri for 25668@debbugs.gnu.org; Thu, 09 Feb 2017 15:52:15 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbvhL-0007gZ-Oe; Thu, 09 Feb 2017 15:52:11 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4174 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cbvhK-00081u-1O; Thu, 09 Feb 2017 15:52:11 -0500 In-reply-to: <87lgtfkz57.fsf@aol.com> (message from Live System User on Thu, 09 Feb 2017 13:16:52 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129159 Archived-At: > From: Live System User > 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 > 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: > . > Find the GDB manual and other documentation resources online at: > . > 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.