I have checked that the executable contains the symbols:

objdumps --syms ./openocd

prints out thousands of lines. Then how to enable gdb to use that info as I
invoked like this:

debian:/usr/src/openocd040rc1/openocd/src# gdb -se=./openocd --args
./openocd -f proba.cfg -d 3 -l logNandWrCrash3.log
and still
> No symbol table info available.

 Or what else should I do? When compiling a saw that the Makefile contains
the -g switch in the CFLAGS.

Richard

On Tue, Jan 5, 2010 at 8:07 PM, David Brownell <[email protected]> wrote:

> On Tuesday 05 January 2010, richard vegh wrote:
> > #0  0xb805a416 in __kernel_vsyscall ()
> > No symbol table info available.
>
> This trace isn't helpful if you haven't included
> the symbol table in your OpenOCD build.
>
> The most immediately useful thing you can do is
> send along a backtrace which includes the benefit
> of a symbol table matching your build.
>
> - Dave
>
>
> > #1  0xb7f208c0 in raise () from /lib/i686/cmov/libc.so.6
> > No symbol table info available.
> > #2  0xb7f23df5 in abort () from /lib/i686/cmov/libc.so.6
> > No symbol table info available.
> > #3  0xb7f576a5 in ?? () from /lib/i686/cmov/libc.so.6
> > No symbol table info available.
> > #4  0x0000000d in ?? ()
> > No symbol table info available.
> > #5  0xbfd3d080 in ?? ()
> > No symbol table info available.
> > #6  0x00000400 in ?? ()
> > No symbol table info available.
> > #7  0x00000000 in ?? ()
> > No symbol table info available.
>
>
>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to