public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Bruno Larsen <blarsen@redhat.com>
To: Tom Tromey <tom@tromey.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix crash with C++ qualified names
Date: Mon, 9 Jan 2023 11:12:31 +0100	[thread overview]
Message-ID: <5bb1b291-6726-0850-c525-175ae2cd2cb8@redhat.com> (raw)
In-Reply-To: <20221223195809.602699-1-tom@tromey.com>

On 23/12/2022 20:58, Tom Tromey wrote:
> PR c++/29503 points out that something like "b->Base::member" will
> crash when 'b' does not have pointer type.  This seems to be a simple
> oversight in eval_op_member.
>
> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29503

I can confirm that this fixes the issue, and seems like a simple enough 
change.

Reviewed-By: Bruno Larsen <blarsen@redhat.com>

-- 
Cheers,
Bruno


  reply	other threads:[~2023-01-09 10:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 19:58 Tom Tromey
2023-01-09 10:12 ` Bruno Larsen [this message]
2023-01-09 11:50 ` Andrew Burgess

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=5bb1b291-6726-0850-c525-175ae2cd2cb8@redhat.com \
    --to=blarsen@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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).