Re: gdb vs gdbserver

Daniel Jacobowitz
2005-01-02T15:02:04Z

On Sun, Jan 02, 2005 at 02:06:55PM +0100, Tobias Grimm wrote:
> gdbserver host:1000 /usr/bin/vdr-dbg <arguments>

You are root so that it can open port 1000, right? :-)

> on the same (target-)machine, just another terminal:
>
> gdb /usr/bin/vdr-dbg
>
> (gdb) target remote localhost:1000
> Remote debugging using localhost:1000
> 0x40000c20 in ?? ()
> (gdb) c
> Continuing.
> [New Thread 16384]
>
>
> And that's it - no other thread is loaded. Running gdb directly works
> perfectly.
>
> Am I doing something wrong? What can I do to trace down the problem?

You could give us some information about your target, system,
and version. And the output of "set debug remote 1".

--
Daniel Jacobowitz