From: "olivier.carmona@ieee.org" <olivier.carmona@tiscali.fr>
To: gdb <gdb@sources.redhat.com>
Subject: Re: gdbserver multithreaded debugging
Date: Thu, 20 Oct 2005 05:36:00 -0000 [thread overview]
Message-ID: <ION8WR$C398D1EAE3494283DBC8DB4CCC88947C@aliceadsl.fr> (raw)
Thanks Daniel and Lim.
Here are more information as requested:
We are using:
GLIBC 2.3.3
Thread : LinuxThread 0.10
GDB 6.3
When we set the breakpoint in the main thread: program is
running correctly and we can watch the main program.
But as soon as we set the breakpoint in a thread, gdb server
terminates with a signal "Killing inferior" and stops,
whereas gdb stops printing the following message:
"Program terminated with signal SIGKILL, Killed".
"The program no longer exists."
At this point, of course, when we do a backtrace in gdb, we
got a corrupted stack.
We checked hat all shared libraries exists on target and are
loaded correctly. Moreover, libthread_db.so exists on the
target side and we tried copying on the local host using set
solib-absolute-prefix.
We have a slight difference between a GDB 6.3 2005.3.17 and
a GDB 6.3.50, the only difference is that gdb prints the
following message in place:
" Program received signal SIGSEGV, Segmentation fault."
"0x00000000 in ?? ()"
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-20 5:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 5:36 olivier.carmona@ieee.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-18 13:08 olivier.carmona@ieee.org
2005-10-18 13:19 ` 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='ION8WR$C398D1EAE3494283DBC8DB4CCC88947C@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