[arm-gnu] arm-2008q3's GDB won't load symbols from my binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] arm-2008q3's GDB won't load symbols from my binary



Even though /bin/file believes that my linked executable is unstripped, and even though I can see the symbols in GDB with a 'p' command, it won't recognize the for the 'l' or 'b' commands.

   Script started on Tue 18 Nov 2008 12:14:47 PM PST
   % ./arm-none-linux-gnueabi-gdb apex
   GNU gdb (Sourcery G++ Lite 2008q3-41) 6.8.50.20080821-cvs
   Copyright (C) 2008 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later
   <http://gnu.org/licenses/gpl.html>
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.  Type "show
   copying"
   and "show warranty" for details.
   This GDB was configured as "--host=i686-pc-linux-gnu
   --target=arm-none-linux-gnueabi".
   For bug reporting instructions, please see:
   <https://support.codesourcery.com/GNUToolchain/>...
   (no debugging symbols found)
   (gdb) p init
   $1 = {<text variable, no debug info>} 0x80204cd0 <init>
   (gdb) l init
   No symbol table is loaded.  Use the "file" command.
   (gdb) file apex
   Reading symbols from /home/elf/z/embedded/apex/apex...(no debugging
   symbols found)...done.
   (gdb) quit
   % exit

   Script done on Tue 18 Nov 2008 12:15:16 PM PST

I am linking with the -g switch and I've been able to debug in the past with an older version of GDB I've built from sources.

The binary is posted to <http://filebin.ca/zhuuar/apex>.

Any help you can offer will be appreciated.

--
Marc Singer
Bureau of Gizmology
elf@xxxxxxxxxxx
t. 206.832.3712
  800.682.0581
f. 206.381.0899

Synapse Product Development, LLC.
1511 6th Avenue, 4th floor
Seattle, WA 98101