From: Simon Sobisch <simonsobisch@gnu.org>
To: varun.erigila@blackfigtech.com
Cc: GDB mailing list <gdb@sourceware.org>
Subject: Re: gdb deletes watchpoint for local variables in scope
Date: Tue, 24 Jan 2023 16:29:02 +0100 [thread overview]
Message-ID: <197002b4-9671-8833-2940-174ebd499b7a@gnu.org> (raw)
In-Reply-To: <BMXPR01MB1029F6BB649C642EC4E485438DFA9@BMXPR01MB1029.INDPRD01.PROD.OUTLOOK.COM>
If you did not do that already try adding
-O -ggdb
to your clang invocation.
Also:
* Does it make any difference if you compile with gcc?
* Does "print q" still return something - and the same as before
"watch q"?
Simon
prev parent reply other threads:[~2023-01-24 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 12:46 Varun Kumar Erigila
2023-01-24 15:29 ` Simon Sobisch [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=197002b4-9671-8833-2940-174ebd499b7a@gnu.org \
--to=simonsobisch@gnu.org \
--cc=gdb@sourceware.org \
--cc=varun.erigila@blackfigtech.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).