public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "andre.poenitz at nokia dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug breakpoints/14503] New: Strange error message when setting a watchpoint on the location of 'this' Date: Tue, 21 Aug 2012 15:46:00 -0000 [thread overview] Message-ID: <bug-14503-4717@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=14503 Bug #: 14503 Summary: Strange error message when setting a watchpoint on the location of 'this' Product: gdb Version: 7.5 Status: NEW Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned@sourceware.org ReportedBy: andre.poenitz@nokia.com Classification: Unclassified I do not really expect setting a watch point on 'this' to be very useful, but the the error message is strange: Breakpoint 2, Foo::Foo (this=0xbfffee54, i=0) at ../simple/simple_test_app.cpp:335 335 b = 2 + s + t; (gdb) watch this Hardware watchpoint 3: this (gdb) watch -l this A syntax error in expression, near `const *) 0xbfffee40'. (gdb) watch -l this->a Hardware watchpoint 4: -location this->a (gdb) watch -l b Hardware watchpoint 5: -location b (the second item) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
reply other threads:[~2012-08-21 15:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=bug-14503-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /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: linkBe 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).