From: "Zissulescu-Ianculescu, Claudiu" <Claudiu.Zissulescu-Ianculescu@amd.com>
To: Tom Tromey <tom@tromey.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
"pedro@palves.net" <pedro@palves.net>,
"Six, Lancelot" <Lancelot.Six@amd.com>
Subject: Re: [PATCH] gdb: return the object's address for dynamic_cast<void *>
Date: Fri, 6 Nov 2026 12:01:24 +0000 [thread overview]
Message-ID: <CY5PR12MB6105F8B2FFEBE5999A0FE8B8AB762@CY5PR12MB6105.namprd12.prod.outlook.com> (raw)
In-Reply-To: <877birz14j.fsf@tromey.com>
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
AMD General
Patch pushed.
Thank you for your review,
Claudiu
________________________________
From: Tom Tromey <tom@tromey.com>
Sent: Thursday, November 5, 2026 6:36 PM
To: Zissulescu-Ianculescu, Claudiu <Claudiu.Zissulescu-Ianculescu@amd.com>
Cc: gdb-patches@sourceware.org <gdb-patches@sourceware.org>; pedro@palves.net <pedro@palves.net>; Six, Lancelot <Lancelot.Six@amd.com>
Subject: Re: [PATCH] gdb: return the object's address for dynamic_cast<void *>
[You don't often get email from tom@tromey.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>>>>> Claudiu Zissulescu <claudiu.zissulescu-ianculescu@amd.com> writes:
> From: Claudiu Zissulescu-Ianculescu <claudiu.zissulescu-ianculescu@amd.com>
> value_dynamic_cast computes the address of the most derived object, but
> for a cast to "void *" it then returns value_at_lazy (type, addr): the
> "void *" stored at that address, i.e. the first word of the object. For
> a polymorphic class that is the vtable pointer:
Thanks for the patch. This is ok.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
[-- Attachment #2: Type: text/html, Size: 2765 bytes --]
prev parent reply other threads:[~2026-11-06 12:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 11:08 Claudiu Zissulescu
2026-11-05 16:36 ` Tom Tromey
2026-11-06 12:01 ` Zissulescu-Ianculescu, Claudiu [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=CY5PR12MB6105F8B2FFEBE5999A0FE8B8AB762@CY5PR12MB6105.namprd12.prod.outlook.com \
--to=claudiu.zissulescu-ianculescu@amd.com \
--cc=Lancelot.Six@amd.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@palves.net \
--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