From: "olivier.carmona@ieee.org" <olivier.carmona@tiscali.fr>
To: gdb <gdb@sources.redhat.com>
Subject: gdbserver multithreaded debugging
Date: Tue, 18 Oct 2005 13:08:00 -0000 [thread overview]
Message-ID: <IOK4HS$B8F4FB48461FA9758025A3820794F7C0@aliceadsl.fr> (raw)
Dear All,
I am trying to use gdbserver to remotely debug a
multithreaded application.
Target is a ARM9, running Linux v2.6.10; gdbserver from the
6.3 release tarball and built on local host.
Local host is a Pentium IV, running Fedora Core 3, gdb v 6.3.
I get a SIGKILL as soon as a thread starts, execution stops
on gdb side, and on gdbserver side it also stops showing a
Terminated: Killing Inferior.
We tried a few things:
- we forced to ignore the SIGKILL and/or the SIG32 signals,
- we forced loading the symbol from shared library on the
host side (thanks to solib-absolute-prefix and
solib-search-path, library copied: libpthread, ldlinux, libc),
- we forced loading a local copy of libthread_db.so (using
also solib-absolute-prefix and solib-search-path),
...,but nonetheless we got not solution.
I don't see this problem while debugging in
non-multithreaded application.
Is there anything I can do to solve the problem I am
experiencing with gdbserver?
__
Olivier Carmona
------------ ALICE HAUT DEBIT A 29,95 EUR/MOIS ------------
ALICEBOX, l'offre Internet tout en 1 : ADSL, téléphonie, modem Wi-Fi et en exclusivité
la hotline gratuite 24h/24 ! Soumis à conditions. Pour en profiter cliquez ici http://abonnement.aliceadsl.fr
next reply other threads:[~2005-10-18 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 13:08 olivier.carmona@ieee.org [this message]
2005-10-18 13:19 ` Daniel Jacobowitz
2005-10-20 5:36 olivier.carmona@ieee.org
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='IOK4HS$B8F4FB48461FA9758025A3820794F7C0@aliceadsl.fr' \
--to=olivier.carmona@tiscali.fr \
--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