From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21104: 25.0.50; relative paths are added to load-path without -nsl (bug#21104) Date: Tue, 08 Dec 2015 05:35:56 +0200 Message-ID: <83k2opd337.fsf@gnu.org> References: <83mvtmcau2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1449545840 20400 80.91.229.3 (8 Dec 2015 03:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2015 03:37:20 +0000 (UTC) Cc: esq@lawlist.com, 21104@debbugs.gnu.org To: Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 08 04:37:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a695R-0003J4-LQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2015 04:37:09 +0100 Original-Received: from localhost ([::1]:57601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a695Q-0007us-NA for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Dec 2015 22:37:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a695N-0007uk-T5 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2015 22:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a695K-0007GS-OI for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2015 22:37:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a695K-0007GN-LA for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2015 22:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a695K-00023z-5b for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2015 22:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2015 03:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21104-submit@debbugs.gnu.org id=B21104.14495457637846 (code B ref 21104); Tue, 08 Dec 2015 03:37:02 +0000 Original-Received: (at 21104) by debbugs.gnu.org; 8 Dec 2015 03:36:03 +0000 Original-Received: from localhost ([127.0.0.1]:42224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a694M-00022U-SY for submit@debbugs.gnu.org; Mon, 07 Dec 2015 22:36:03 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:64767) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a694L-000224-3c for 21104@debbugs.gnu.org; Mon, 07 Dec 2015 22:36:01 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NZ000900ROJMD00@a-mtaout21.012.net.il> for 21104@debbugs.gnu.org; Tue, 08 Dec 2015 05:35:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NZ0009WXSNZMT10@a-mtaout21.012.net.il>; Tue, 08 Dec 2015 05:35:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109747 Archived-At: > Date: Mon, 7 Dec 2015 23:09:09 +0100 > From: Anders Lindgren > Cc: 21104@debbugs.gnu.org, Keith David Bershatsky > > > Are you saying that xbacktrace doesn't work at this point? > > I'm new to gdb, so I don't know what xbacktrace is... It's one of the many commands defined in src/.gdbinit. If you start GDB in the src directory, it should read that file automatically (or loudly refuse to, for security reasons). Failing that, type "source /path/to/src/.gdbinit" to force GDB to read it. Once you did that, just typing "xbacktrace" should show the Lisp backtrace which should give you a clue what Lisp code is being run. > What happen is that after > i try to print things, say "p SDATA(current_buffer->directory_)", gdb no longer > see the same call stack etc. Don't do that. Instead, do this: (gdb) p current_buffer->directory_ (gdb) xstring (Usually, it's better to make sure the value is a string by typing "xtype" before "xstring".) See etc/DEBUG for more useful hints.