RE: Macro info NOT accessible with GDB-trunk

"Tomar, Sourabh Singh via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <DM4PR12MB52956E200B7C46DAA3FFF11A9D2D9@DM4PR12MB5295.namprd12.prod.outlook.com>
[AMD Public Use]

>It's here:
>https://sourceware.org/pipermail/gdb-patches/2021-May/178871.html
?This is also reported as gdb/27306

Thanks for the patch, this seems to solve the all the problems associated/mentioned with previous thread.
Ran some macro associated test, all seemed good to me.

Thanks,
Sourabh.

-----Original Message-----
From: Tomar, Sourabh Singh 
Sent: Monday, May 17, 2021 10:35 PM
To: Keith Seitz <[email protected]>; [email protected]
Cc: George, Jini Susan <[email protected]>; Achra, Nitika <[email protected]>; Sharma, Alok Kumar <[email protected]>; Kumar N, Bhuvanendra <[email protected]>
Subject: RE: Macro info NOT accessible with GDB-trunk

[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 <[email protected]>
Sent: Monday, May 17, 2021 10:21 PM
To: Tomar, Sourabh Singh <[email protected]>; [email protected]
Cc: George, Jini Susan <[email protected]>; Achra, Nitika <[email protected]>; Sharma, Alok Kumar <[email protected]>; Kumar N, Bhuvanendra <[email protected]>
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&amp;data=04%7C01%7Csourabhsingh.tomar%40amd.com%7C505927ec7b8b45e9579e08d91953f963%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637568670724930270%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9ZB%2BPsvD9GZrlMZZpLE5Ild8mJVpjJzWxGq%2FcrSWOkY%3D&amp;reserved=0

This is also reported as gdb/27306.

Keith



​
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.