From: Matt HAMEAU <maat_h@yahoo.fr>
To: gdb@sourceware.org
Subject: Multi-thread debug doesn't work with me :(
Date: Tue, 29 Aug 2006 13:47:00 -0000 [thread overview]
Message-ID: <20060829134727.34334.qmail@web26115.mail.ukl.yahoo.com> (raw)
Hello,
I'm using gdb on windows to debug an application on an ARM linux platform, remotely, via serial link.
I manage to debug simple programs with success (step, step into, break, backtrace etc...), without any problems.
But, when I try to debug a process that create multiple pthreads, I cannot get into those threads and the debugger crashes:
- I connect to the board
- I set up a breakpoint in a function that will be executed by one of the thread (created by pthread_create)
- I launch the remote debug
- when the thread reaches the breakpoint, the debugger stops
- debugger is lost, it is impossible to have any information on the current line of the code or on any variables
- I "continue" the debug: the debugger crashes.
I did search on mailling list about this problem, but I could not find any help.
The only messages I found cames from the year 2000 - 2003, I guess gdb did change a lot now.
If somebody have an idea, please... I don't know what to do.
$ arm-linux-uclibc-gdb.exe --version
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-pc-linux-gnu --target=arm-linux-uclibc".
Thank you very much by advance
Best regards
Matthieu HAMEAU
next reply other threads:[~2006-08-29 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-29 13:47 Matt HAMEAU [this message]
2006-08-29 13:49 ` Daniel Jacobowitz
2006-08-29 16:47 ` Re : " Matt HAMEAU
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=20060829134727.34334.qmail@web26115.mail.ukl.yahoo.com \
--to=maat_h@yahoo.fr \
--cc=gdb@sourceware.org \
--cc=mhameau@yahoo.fr \
/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