GNU bug report logs -
#21104
25.0.50; relative paths are added to load-path without -nsl
Previous Next
Reported by: sds <at> gnu.org
Date: Tue, 21 Jul 2015 17:27:01 UTC
Severity: normal
Merged with 21353
Found in version 25.0.50
Done: Anders Lindgren <andlind <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 21104 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 7 Dec 2015 23:09:09 +0100
> From: Anders Lindgren <andlind <at> gmail.com>
> Cc: 21104 <at> debbugs.gnu.org, Keith David Bershatsky <esq <at> 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.
This bug report was last modified 9 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.