public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: my Name <interested0815@yahoo.com>
Cc: gdb@sources.redhat.com
Subject: Re: debugging multithreaded applications
Date: Tue, 30 Aug 2005 02:12:00 -0000	[thread overview]
Message-ID: <20050830021232.GA15892@nevyn.them.org> (raw)
In-Reply-To: <20050816152422.39274.qmail@web50102.mail.yahoo.com>

On Tue, Aug 16, 2005 at 08:24:22AM -0700, my Name wrote:
> If I enter breakpoints into work (line 18), the
> program is stopped if I use gdb (version 6.3). If
> using gdbserver, after starting the process I get
> "Cannot find new threads: capability not available",
> and later the child process is terminated with "signal
> = 5", SIGTRAP
> Since I did not find anything in the manual that said
> whether or not gdbserver can be used with
> multithreaded programs, I hope someone on this mailing
> list can help.
> Is it possible to debug multithreaded programs using
> gdbserver and if so, how?

You shouldn't need to do anything special if they're on the same system
as your gdb.  If you're trying to debug on another system, search for
solib-absolute-prefix.

You may also want to give the CVS version a try.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

      reply	other threads:[~2005-08-30  2:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16 15:24 my Name
2005-08-30  2:12 ` Daniel Jacobowitz [this message]

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=20050830021232.GA15892@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=interested0815@yahoo.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).