This is the mail archive of the
mailing list for the GDB project.
Re: gdb vs gdbserver
- From: Tobias Grimm <listaccount at e-tobi dot net>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Sun, 02 Jan 2005 18:32:28 +0100
- Subject: Re: gdb vs gdbserver
- References: <41D7F1EF.email@example.com> <20050102150145.GA18132@nevyn.them.org>
- Reply-to: listaccount at e-tobi dot net
Daniel Jacobowitz wrote:
gdbserver host:1000 /usr/bin/vdr-dbg <arguments>
You are root so that it can open port 1000, right? :-)
Of course. And gdb also connects to port 1000, so this part
seems to work.
You could give us some information about your target, system,
Target is i386 (Debian Sarge running kernel 2.4.27). I tried it with gdb version
6.1 and 6.3.
And the output of "set debug remote 1".
Ok, thats funny - with this option set it works. Without "set debug remote 1"
the application "hangs". But I can disable it after starting the application and
it continues to work. So at least this is something I can work with. It still
shows only the creation of the main thread, but "info threads" prints out all
eight threads and I can switch to each of it.