From: Daniel Juan <daniel.juan@gmail.com>
To: Jim Blandy <jimb@red-bean.com>
Cc: gdb@sourceware.org
Subject: Re: posix semaphores not working under gdb
Date: Wed, 30 Nov 2005 17:51:00 -0000 [thread overview]
Message-ID: <f69bc2d80511300240ycc09253l3033311e5ec697bb@mail.gmail.com> (raw)
In-Reply-To: <8f2776cb0511300202t5b8d6d4brda7dbf0f7b58de80@mail.gmail.com>
Totally agree,
I don't think that GDB is the responsible of this strange behaviour,
I only would like to know if someone experienced something similar
when debugging a multithreaded application. Because I can't, right
now, find any clue on whats wrong In the code.
On 11/30/05, Jim Blandy <jimb@red-bean.com> wrote:
> I'd be surprised if GDB were really disturbing the behavior of the
> semaphores. It's much more likely that GDB is disturbing the
> real-time behavior of your program and showing up a bug in the locking
> that your program, just by luck, never encounters when it's not being
> debugged.
>
> I don't know of any stories offhand of GDB breaking semaphores or mutexes.
>
--
Daniel Juan Boned
e-mail: daniel(dot)juan(at)gmail.com
next prev parent reply other threads:[~2005-11-30 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-30 10:03 Daniel Juan
2005-11-30 10:40 ` Jim Blandy
2005-11-30 17:51 ` Daniel Juan [this message]
2005-12-01 7:55 Kenny Simpson
2005-12-01 13:16 ` Daniel Juan
2005-12-01 23:33 ` Jim Blandy
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=f69bc2d80511300240ycc09253l3033311e5ec697bb@mail.gmail.com \
--to=daniel.juan@gmail.com \
--cc=gdb@sourceware.org \
--cc=jimb@red-bean.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