AMD General Patch pushed. Thank you for your review, Claudiu ________________________________ From: Tom Tromey Sent: Thursday, November 5, 2026 6:36 PM To: Zissulescu-Ianculescu, Claudiu Cc: gdb-patches@sourceware.org ; pedro@palves.net ; Six, Lancelot Subject: Re: [PATCH] gdb: return the object's address for dynamic_cast [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 writes: > From: Claudiu Zissulescu-Ianculescu > 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