Macro info NOT accessible with GDB-trunk

Tomar, Sourabh Singh SourabhSingh.Tomar@amd.com
Mon May 17 17:04:36 GMT 2021


[AMD Public Use]

Thanks For the quick response keith!

Do you have any pointers to the base commit/change that might've caused this ?
IIRC, it was working fine couple og weeks back (That was the foundation of my initial patch that 
things were working fine with GCC and not with CLANG). Now as it seems GCC generated binaries are also 
not showing macro info at all ☹

Thanks!
Sourabh.

-----Original Message-----
From: Keith Seitz <keiths@redhat.com> 
Sent: Monday, May 17, 2021 10:21 PM
To: Tomar, Sourabh Singh <SourabhSingh.Tomar@amd.com>; gdb@sourceware.org
Cc: George, Jini Susan <JiniSusan.George@amd.com>; Achra, Nitika <Nitika.Achra@amd.com>; Sharma, Alok Kumar <AlokKumar.Sharma@amd.com>; Kumar N, Bhuvanendra <Bhuvanendra.KumarN@amd.com>
Subject: Re: Macro info NOT accessible with GDB-trunk

[CAUTION: External Email]

On 5/17/21 9:35 AM, Tomar, Sourabh Singh via Gdb wrote:

> Can somebody please validate this ?
>

Yes, I can verify this, and I've posted a tentative patch to fix this in your gdb-patches thread titled "Fix macro info lookup for binaries containing DWARFv5 line table."

It's here:

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceware.org%2Fpipermail%2Fgdb-patches%2F2021-May%2F178871.html&data=04%7C01%7Csourabhsingh.tomar%40amd.com%7C505927ec7b8b45e9579e08d91953f963%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637568670724930270%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9ZB%2BPsvD9GZrlMZZpLE5Ild8mJVpjJzWxGq%2FcrSWOkY%3D&reserved=0

This is also reported as gdb/27306.

Keith



​


More information about the Gdb mailing list