From: Eli Zaretskii <eliz@gnu.org>
To: Anders Lindgren <andlind@gmail.com>
Cc: esq@lawlist.com, 21104@debbugs.gnu.org
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 [thread overview]
Message-ID: <83k2opd337.fsf@gnu.org> (raw)
In-Reply-To: <CABr8ebZBZLp18JBUnyrp73CFLu6Tfg7hUNtdYCQrEtUmQWYyiQ@mail.gmail.com>
> Date: Mon, 7 Dec 2015 23:09:09 +0100
> From: Anders Lindgren <andlind@gmail.com>
> Cc: 21104@debbugs.gnu.org, Keith David Bershatsky <esq@lawlist.com>
>
> > 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.
next prev parent reply other threads:[~2015-12-08 3:35 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 17:26 bug#21104: 25.0.50; relative paths are added to load-path without -nsl Sam Steingold
2015-07-21 17:41 ` bug#21104: workaround for the bug Sam Steingold
2015-07-22 18:02 ` bug#21104: 25.0.50; relative paths are added to load-path without -nsl Glenn Morris
2015-07-22 18:26 ` Sam Steingold
2015-07-22 18:37 ` Glenn Morris
2015-07-22 19:41 ` Sam Steingold
2015-07-22 21:58 ` Glenn Morris
2015-12-07 19:00 ` bug#21104: 25.0.50; relative paths are added to load-path without -nsl (bug#21104) Anders Lindgren
2015-12-07 19:33 ` Eli Zaretskii
2015-12-07 22:09 ` Anders Lindgren
2015-12-08 1:22 ` Glenn Morris
2015-12-08 1:32 ` Glenn Morris
2015-12-08 16:05 ` Eli Zaretskii
2015-12-08 17:06 ` Andreas Schwab
2015-12-08 17:40 ` Eli Zaretskii
2015-12-08 18:16 ` Andreas Schwab
2015-12-08 17:54 ` Glenn Morris
2015-12-08 18:20 ` Eli Zaretskii
2015-12-08 19:16 ` Anders Lindgren
2015-12-08 19:21 ` Glenn Morris
2015-12-08 20:03 ` Anders Lindgren
2015-12-09 8:49 ` Andreas Schwab
2015-12-08 20:05 ` Eli Zaretskii
2015-12-08 3:35 ` Eli Zaretskii [this message]
2015-12-09 10:33 ` bug#21104: Don't add "." to load-path -- fixed Anders Lindgren
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=83k2opd337.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=21104@debbugs.gnu.org \
--cc=andlind@gmail.com \
--cc=esq@lawlist.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.