public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug exp/19312] incorrect evaluation of expression with convenience variable Date: Tue, 21 Feb 2023 19:45:29 +0000 [thread overview] Message-ID: <bug-19312-4717-NVlvqQouXA@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-19312-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=19312 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3592bebbbf6b27732effc49bd6a73b0bd5af4df4 commit 3592bebbbf6b27732effc49bd6a73b0bd5af4df4 Author: Tom Tromey <tom@tromey.com> Date: Fri Feb 17 19:55:50 2023 -0500 Issue error on erroneous expression A while back I discovered that this does not issue an error: (gdb) p $x = (void * ) 57 $3 = (void *) 0x39 (gdb) p $x + 7 = 3 $6 = (void *) 0x3 This patch fixes the bug. Regression tested on x86-64 Fedora 36. Reviewed-By: Bruno Larsen <blarsen@redhat.com> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19312 -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-02-21 19:45 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-19312-4717@http.sourceware.org/bugzilla/> 2023-02-18 1:23 ` tromey at sourceware dot org 2023-02-21 19:45 ` cvs-commit at gcc dot gnu.org [this message] 2023-02-21 19:46 ` tromey at sourceware dot org
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-19312-4717-NVlvqQouXA@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).