[PATCH] Support for DWARF5 location lists entries

Achra, Nitika Nitika.Achra@amd.com
Thu Jan 16 11:29:00 GMT 2020


[AMD Official Use Only - Internal Distribution Only]

Hi Simon,

Please find the attachment.


*Handle DW_LLE_base_addressx, DW_LLE_startx_length and DW_LLE_start_length.

Tested by running the testsuite before and after the patch and there is no increase in the number of test cases that fails.
Tested with both -gdwarf-4 and -gdwarf-5 flags. Also tested -gslit-dwarf along with -gdwarf-4 as well as -gdwarf5 flags.


gdb/ChangeLog:
        *dwarf2loc.c (decode_debug_loclists_addresses): Handle
          DW_LLE_base_addressx, DW_LLE_startx_length, DW_LLE_start_length.

This is an effort to support DWARF5 in gdb.

Regards,
Nitika Achra

-----Original Message-----
From: Simon Marchi <simark@simark.ca> 
Sent: Tuesday, January 14, 2020 9:59 PM
To: Achra, Nitika <Nitika.Achra@amd.com>; gdb-patches@sourceware.org
Cc: Ali Tamur <tamur@google.com>; George, Jini Susan <JiniSusan.George@amd.com>
Subject: Re: [PATCH] Support for DWARF5 location lists entries

[CAUTION: External Email]

On 2020-01-14 2:02 a.m., Achra, Nitika wrote:
> [AMD Official Use Only - Internal Distribution Only]
>
> Hi Simon,
>
> Sorry, I missed the comment. And I will try to setup the git-send-email before the next patch. Thank you.

Thanks.

I could push this patch on your behalf, but I am having trouble applying it, probably because your client (I'm guessing outlook?) has messed with it.  Could you please generate it with git-format-patch and send it as an attachment?  This way it should arrive intact.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-for-DWARF5-location-lists-entries.patch
Type: application/octet-stream
Size: 2314 bytes
Desc: 0001-Support-for-DWARF5-location-lists-entries.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20200116/25f75751/attachment.obj>


More information about the Gdb-patches mailing list