Re: remote debugging using gdbserver

2009-12-17 Thread ik
Thanks Baruch, I'll take a look at it. Ido http://ik.homelinux.org/ On Thu, Dec 17, 2009 at 10:33 AM, Baruch Siach wrote: > On Thu, Dec 17, 2009 at 10:29:32AM +0200, ik wrote: > > On Thu, Dec 17, 2009 at 10:24 AM, Gilad Ben-Yossef < > gi...@codefidence.com>wrote: > > > Also, you did compile g

Re: remote debugging using gdbserver

2009-12-17 Thread Baruch Siach
On Thu, Dec 17, 2009 at 10:29:32AM +0200, ik wrote: > On Thu, Dec 17, 2009 at 10:24 AM, Gilad Ben-Yossef > wrote: > > Also, you did compile gdb for cross debugging ARM on your host, right? > > > > No I have not :( good to know, I'll try first to look for something ready, > and if not, I'll compil

Re: remote debugging using gdbserver

2009-12-17 Thread ik
On Thu, Dec 17, 2009 at 10:24 AM, Gilad Ben-Yossef wrote: > ik wrote: > > The server runs on an ARM machine, and the client on my own machine. > They both have gdb v7 > > Then the procedure you wrote can never work. > > You need to let gdb know where are the shared library of the ARM (with > de

Re: remote debugging using gdbserver

2009-12-17 Thread Baruch Siach
Hi Ido, On Thu, Dec 17, 2009 at 10:16:44AM +0200, ik wrote: > The server runs on an ARM machine, and the client on my own machine. > They both have gdb v7 Are you using a cross GDB on you host? Which one? baruch > On Thu, Dec 17, 2009 at 9:31 AM, Gilad Ben-Yossef > wrote: > > > ik wrote: > >

Re: remote debugging using gdbserver

2009-12-17 Thread Gilad Ben-Yossef
ik wrote: The server runs on an ARM machine, and the client on my own machine. They both have gdb v7 Then the procedure you wrote can never work. You need to let gdb know where are the shared library of the ARM (with debug information): set solib-absolute-prefix /dev/null set solib-shared

Re: remote debugging using gdbserver

2009-12-17 Thread ik
The server runs on an ARM machine, and the client on my own machine. They both have gdb v7 Thanks, Ido http://ik.homelinux.org/ On Thu, Dec 17, 2009 at 9:31 AM, Gilad Ben-Yossef wrote: > ik wrote: > > Hello, > > I'm trying to use gdbserver as follows: > $ gdbserver 192.168.0.202: ./hello

Re: remote debugging using gdbserver

2009-12-16 Thread Gilad Ben-Yossef
ik wrote: Hello, I'm trying to use gdbserver as follows: $ gdbserver 192.168.0.202: ./hello When I try to debug the program "hello" using a gdb located on a different machine as follows: gdb $ target remote 192.168.0.202: The

remote debugging using gdbserver

2009-12-13 Thread ik
Hello, I'm trying to use gdbserver as follows: $ gdbserver 192.168.0.202: ./hello When I try to debug the program "hello" using a gdb located on a different machine as follows: gdb $ target remote 192.168.0.202: The gdb server hangsup. What am I missing/doing wrong here ? Thanks, Ido