Hi mayank thanks for your response,
I have arm tool chain in place, I got the exe generated and it is an arm image. I have done configuration twice because, I read it from internet(google resources) that for remote debugging from host i need to give command $ ddd --gdb --debugger arm-linux-gdb hello where arm-linux-gdb is obtained from first compilation and gdbserver is obtained from second compilation. Do I need to set any options while using DDD for remote debugging, I did setting on for remote debugging but I am not getting the source code in DDD, so typing command for setting break point as $break main, here it says - no symbol found as I was running only ddd no input file. when i run ddd with file name $ddd hello and trying to set up breakpoint as $break main. it sets breakpoint ( Breakpoint 1 at 0x8478: file hello.c, line 5) but when i say $continue (Continuing. Warning: Cannot insert breakpoint -2. Error accessing memory address 0xdaca: Input/output error. ) Any pointer to this problem, I got the exe, gdbserver is compiled but not getting how to setup and use using DDD? or do u have any idea about other graphical debugger? where setup and usage is easy. Thanks a lot again __Bhagwat On Mon, May 19, 2008 at 1:38 PM, Mayank Rungta <[EMAIL PROTECTED]> wrote: > Quick questions. This appears to be a cross build. Do u have the arm > tool chain in place. If the exe is generated run file command and check > if it is an arm image. > > I see u have done configure twice - why is the configure mechanism > different. The cross build should follow similar way right? > > mynk > > Bhagwat Masalkar wrote: > > Hi all, > > Good morning, > > > > I am trying to configure gdbserver for ARM-Linux, for this I done > following > > steps, > > > > > > $ tar xvzf gdb-6.3.gz > > > > $ cd gdb-6.3 > > > > $ ./configure --host=i386-linux --target=arm-linux --build=i386-linux " > > > > $ make > > > > > > This gives me no compilation error, The next step is for building > gdbserver, > > here I execute following commands, > > > > $ cd gdb-6.3/gdb/gdbserver > > > > $ export CC=arm-linux-gcc > > > > $ export LD=arm-linux-ld > > > > $ ./configure --target=arm-linux > > > > $ make > > > > -- I get follwing error, > > > > checking for i686-pc-linux-gnu-gcc... /usr/local/bin/arm-linux-gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... configure: error: cannot run C > > compiled programs. > > If you meant to cross compile, use `--host'. > > See `config.log' for more details. > > make: *** [configure-libiberty] Error 1 > > > > > > I am not getting this error, as host for gdbserver will be arm-linux-gcc? > > > > please share your views. > > ------------------------------------ ============================================================== (2nd Saturday) Technical Meetups, Hackathons, Workshops, BoFs Special Events on 4th Saturday of every month. Events : http://events.twincling.org/ Photos : http://photos.twincling.org/ Blog : http://blogs.twincling.org/ Website : http://www.twincling.org/ TWINCLING Society Registered "not for profit" Open Source promotion organization Hyderabad, Andhra Pradesh, India. ============================================================== Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/twincling/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/twincling/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

