[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient hangs
From: |
Eli Zaretskii |
Subject: |
Re: emacsclient hangs |
Date: |
Mon, 05 Nov 2012 05:39:08 +0200 |
> Date: Sun, 4 Nov 2012 22:04:22 -0300
> From: Fabian Ezequiel Gallina <address@hidden>
>
> 2012/11/3 Eli Zaretskii <address@hidden>:
> >> Date: Sat, 3 Nov 2012 12:10:48 -0300
> >> From: Fabian Ezequiel Gallina <address@hidden>
> >>
> >> BTW I was trying to get a backtrace, but for some reason I can't
> >> source the src/.gdbinit file, I get this all the time:
> >>
> >> .gdbinit:21: Error in sourced command file:
> >> No symbol table is loaded. Use the "file" command.
> >
> > Please tell how you invoke GDB, and what commands did you type inside
> > GDB since its invocation until "source .gdbinit".
>
> I just issue source .gdbinit or even better, I just start gdb like
> this so the .gdbinit file gets sourced automatically:
>
> gdb -iex "set auto-load safe-path /usr:/bin:$(pwd)"
You should do this:
gdb -iex "set auto-load safe-path /usr:/bin:$(pwd)" ./emacs
IOW, you need to tell GDB from which executable to load the debug
info, including symbols.