diff mbox

Update DWARF codes for Fission

Message ID CAHACq4pcG3EHy8ai9ZTEqDBhxm6q=NqxmLaVDdb8adbhfpKQxw@mail.gmail.com
State New
Headers show

Commit Message

Cary Coutant May 1, 2012, 11:17 p.m. UTC
This patch to include/dwarf2.def updates the DW_FORM and DW_AT codes
for the Fission extensions. We've eliminated DW_FORM_GNU_ref_index,
and replaced DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. (The wiki
page at http://gcc.gnu.org/wiki/DebugFission has been updated.)

OK for binutils and gcc?

-cary


include/

2012-05-01  Cary Coutant  <ccoutant@google.com>

	* dwarf2.def: Remove DW_FORM_GNU_ref_index,
	replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.


commit bc45612d20fad44534b0efeeb821671d8e8c5b63
Author: Cary Coutant <ccoutant@google.com>
Date:   Tue May 1 16:08:08 2012 -0700

    Update DW_FORM and DW_AT codes for Fission.

Comments

Jakub Jelinek May 2, 2012, 5:45 a.m. UTC | #1
On Tue, May 01, 2012 at 04:17:02PM -0700, Cary Coutant wrote:
> This patch to include/dwarf2.def updates the DW_FORM and DW_AT codes
> for the Fission extensions. We've eliminated DW_FORM_GNU_ref_index,
> and replaced DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. (The wiki
> page at http://gcc.gnu.org/wiki/DebugFission has been updated.)
> 
> OK for binutils and gcc?

Okay.

> 2012-05-01  Cary Coutant  <ccoutant@google.com>
> 
> 	* dwarf2.def: Remove DW_FORM_GNU_ref_index,
> 	replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
> 
> 
> commit bc45612d20fad44534b0efeeb821671d8e8c5b63
> Author: Cary Coutant <ccoutant@google.com>
> Date:   Tue May 1 16:08:08 2012 -0700
> 
>     Update DW_FORM and DW_AT codes for Fission.

	Jakub
Cary Coutant May 2, 2012, 6:42 p.m. UTC | #2
>> This patch to include/dwarf2.def updates the DW_FORM and DW_AT codes
>> for the Fission extensions. We've eliminated DW_FORM_GNU_ref_index,
>> and replaced DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. (The wiki
>> page at http://gcc.gnu.org/wiki/DebugFission has been updated.)
>>
>> OK for binutils and gcc?
>
> Okay.

Thanks, committed to both repositories.

-cary
diff mbox

Patch

diff --git a/include/dwarf2.def b/include/dwarf2.def
index 3ac3354..e36ae91 100644
--- a/include/dwarf2.def
+++ b/include/dwarf2.def
@@ -203,7 +203,6 @@  DW_FORM (DW_FORM_exprloc, 0x18)
 DW_FORM (DW_FORM_flag_present, 0x19)
 DW_FORM (DW_FORM_ref_sig8, 0x20)
 /* Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFission.  */
-DW_FORM (DW_FORM_GNU_ref_index, 0x1f00)
 DW_FORM (DW_FORM_GNU_addr_index, 0x1f01)
 DW_FORM (DW_FORM_GNU_str_index, 0x1f02)
 DW_END_FORM
@@ -383,7 +382,7 @@  DW_AT (DW_AT_GNU_macros, 0x2119)
 /* Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFission.  */
 DW_AT (DW_AT_GNU_dwo_name, 0x2130)
 DW_AT (DW_AT_GNU_dwo_id, 0x2131)
-DW_AT (DW_AT_GNU_ref_base, 0x2132)
+DW_AT (DW_AT_GNU_ranges_base, 0x2132)
 DW_AT (DW_AT_GNU_addr_base, 0x2133)
 DW_AT (DW_AT_GNU_pubnames, 0x2134)
 DW_AT (DW_AT_GNU_pubtypes, 0x2135)