I\'ve installed GDB 5.2 from ZSI and I\'m getting this:
bash-2.05$ gdb testsdl
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "armv4l-unknown-linux-gnu"...
(no debugging symbols found)...
(gdb) run ./ogre.png
Starting program: /home/zaurus/sdl/testsdl ./ogre.png
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
sprite file -> ./ogre.png
(no debugging symbols found)...
Program received signal SIG32, Real-time event 32.
0x406f42e0 in sigsuspend () from /lib/libc.so.6
(gdb)
I think is crashing when is hitting the SDL init call.