Join Today
+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    Default Getting gdbserver or debugging with E680i

    Hello all,

    I have been trying to get a version of gdbserver running on my E680i. I have the cross compiler from ezx-crosstool-0.5, which has built a successful helloworld application, and have built a version of gdbserver which may or may not have the correct configuration. Running the gdbserver I have built on the phone gives the following error, "./gdbserver: error while loading shared libraries: libthread_db.so.1: cannot open shared object file: No such file or directory".
    I have done some searching on this error for solutions but the matches I have seen are not helpful. Searches on the forum for E680 don't mention gdb/gdbserver at all.
    Has anyone had success in getting a debugging session with a x86 Linux host with the E680 gdbserver as the target?

    Thanks,
    Jeff

  2. #2

    Default Re: Getting gdbserver or debugging with E680i

    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 to Thread

Similar Threads

  1. interactive debugging on A780
    By zbojnik83 in forum Development
    Replies: 0
    Last Post: 03-02-2008, 11:14 PM
  2. e680i not working in my e680i
    By rapper382 in forum E680i General Chat
    Replies: 1
    Last Post: 04-05-2007, 11:39 PM
  3. Flashed E680i and original E680i
    By seth86 in forum E680i General Chat
    Replies: 4
    Last Post: 09-28-2005, 02:24 PM
  4. Debugging Techniques
    By Aragorn_DSP in forum Development
    Replies: 2
    Last Post: 09-21-2005, 07:21 AM
  5. e680-->e680i and the real e680i
    By thakilla in forum E680i General Chat
    Replies: 51
    Last Post: 08-24-2005, 01:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1