Hello all,
I am encouraged to report the completion of a successful gdb/gdbserver debugging session. There were several hidden issues which were getting in the way of running gdbserver on the phone, running my application on the phone, and getting gdb working with my phone.
The LD_LIBRARY_PATH variable must be set correctly to allow gdbserver to find its shared libraries and also for the application on the phone to find the EZX libraries. QTDIR and the EZX font resource path must be set correctly so your application can run. All this is probably due to the telnet access, whose environment is not set like the normal phone environment so you have to look at /home/native/.profile and look and see what it does.
On the host you must have arm-linux-gdb in order to correct interpret the information coming from gdbserver on the phone and you have to have a version of gdbserver built with the cross-compiler. The instructions for running gdb and gdbserver come right out of the manual using "target remote <addrort> with gdb to connect with your gdbserver waiting for you to connect.
I must give out a gigantic bunch of thanks to the folks on this forum, without whom none of this would have been possible. All the pieces are there to develop on this platform as a first class system. The next step for us is to create more substantial applications based on the work already done.
Thanks,
Jeff



Reply With Quote