From: Kevin Buettner <kevinb@redhat.com>
To: Fredrik Tolf <fredrik@dolda2000.cjb.net>
Cc: gdb@sources.redhat.com
Subject: Re: Instruction address catching
Date: Tue, 08 Oct 2002 13:09:00 -0000 [thread overview]
Message-ID: <1021008200856.ZM7583@localhost.localdomain> (raw)
In-Reply-To: Fredrik Tolf <fredrik@dolda2000.cjb.net> "Re: Instruction address catching" (Oct 5, 3:37am)
On Oct 5, 3:37am, Fredrik Tolf wrote:
> The strangest thing happened. I made a small test program to test this.
> The program spawns two threads, each of which increments a variable of
> its own once a second. Even when I set a watchpoint on any of the
> variables (i.e. "watch var1"), the program doesn't halt. I checked
> manually, and the vars are increased, but gdb won't stop the program.
> What can I possibly have done wrong?
Are your variables local to a function or are they globals?
Kevin
prev parent reply other threads:[~2002-10-08 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-04 16:36 Fredrik Tolf
2002-10-04 17:11 ` Kevin Buettner
2002-10-04 17:21 ` Fredrik Tolf
2002-10-04 17:52 ` Kevin Buettner
2002-10-04 18:09 ` Fredrik Tolf
2002-10-04 18:37 ` Fredrik Tolf
2002-10-08 13:09 ` Kevin Buettner [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=1021008200856.ZM7583@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=fredrik@dolda2000.cjb.net \
--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