Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tobias Grimm <listaccount@e-tobi.net>
To: GDB <gdb@sources.redhat.com>
Subject: gdb vs gdbserver
Date: Sun, 02 Jan 2005 13:02:00 -0000	[thread overview]
Message-ID: <41D7F1EF.1090308@e-tobi.net> (raw)

Hi!

These are my first steps with gdb, but I'm already stuck and need some kind of 
jump start. I would like to debug a multithreaded application (VDR), which works 
fine if I do this "directly" with gdb. Using gdbserver, only one thread is 
created and then everything stops.

What I'm doing is this:

gdbserver host:1000 /usr/bin/vdr-dbg <arguments>

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?

bye,

Tobias



             reply	other threads:[~2005-01-02 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-02 13:02 Tobias Grimm [this message]
2005-01-02 15:02 ` Daniel Jacobowitz
2005-01-02 17:28   ` Tobias Grimm
  -- strict thread matches above, loose matches on Subject: below --
2002-10-04  5:53 gdb Vs gdbserver Usman S. Ansari
2002-10-04  9:54 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41D7F1EF.1090308@e-tobi.net \
    --to=listaccount@e-tobi.net \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox