-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28-06-11 23:07, Paul R wrote:
> Hi, I'm new to Angstrom and am interested in running Python under GDB on an 
> Angstrom/ARM board, to debug some weird Python crashes I've been seeing.  I 
> ran "opkg install python-core-dbg" which installed a number of packages and 
> complained that a lot more (looking mostly like international locale files) 
> were missing, and it installed an ELF binary in /usr/bin/.debug/python.  
> However, trying to run the binary (either from the shell or under gdb) gives 
> an error like:
> 
> # /usr/bin/.debug/python
> /usr/bin/.debug/python: line 1: syntax error: word unexpected (expecting ")")
> 
> I've probably done something silly but a fair amount of web searching doesn't 
> find any useful advice.  Does anyone know what's going on?

That only contains the debugging symbols, do debug it just do:

gdb python

And gdb will find the symbols on its own.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOCwHSMkyGM64RGpERAhImAKCOM8oQ6LQM3WgydQz1XVCpWhuxiACfUUUR
pmxleMNsjB49JAy571i8T+E=
=YSNA
-----END PGP SIGNATURE-----


_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to