I'm trying to remote debug an application running on arm9
So far I've been able to cross compile and execute gdbserver on my device.
- get gdb (7.2) sources and extract them
- ./configure --target=arm-none-linux-gnueabi --with-expat=/usr/local/lib/
- make
- cd gdb/gdbserver
- ./configure --host=arm-none-linux-gnueabi
- make
- tftp gdbserver to my device
- run and connect via gdb to the device
gdbserver "seems" to start correctly and attach itself to my helloworld application
When I try to gdb to the remote server, I get
"warning: Can not parse XML target description; XML support was disabled at compile time"
Obviously, the compilation didn't take into account expat. I'm really unsure about how to specify the expat library path to the configuration script.