[Cgdb-users] remote debugging
Brought to you by:
bobbybrasko,
crouchingturbo
From: Martin M. <mar...@gm...> - 2010-06-02 08:27:41
|
Hello, I'm using gdb remote debugging: on target machine(ip address 10.20.30.40, process to debug PID 2345)(its that one, which I want to debug) I start gdbserver like this: gdbserver HOST:2345 --attach 1234 ( I simply attach to process) on my local machine, I can connect by : gdb binaty and than in gdb window write target remote 10.20.30.40:2345 Every thing works ok. If I use cgdb instead gdb on my machine, the upper window (where is code displayed) is not corresponding with remote binary ( I mean, that is not updated if I write "n" (next) to gdb window, it points still to same place in the code) So my question is: Supports cgdb remote debugging via gdbserver? If yes, can you write me, what am I doing wrong? Thanks and have a nice day :-) Martin |