Bug 445517 - Support of new Dwarf4 extension for ARM thumb2
Summary: Support of new Dwarf4 extension for ARM thumb2
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.3   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 09:37 EDT by xavier pouyollon CLA
Modified: 2015-06-16 03:17 EDT (History)
1 user (show)

See Also:


Attachments
Arm Thumb2 Dwarf4 sample. (7.79 KB, application/octet-stream)
2014-09-30 09:37 EDT, xavier pouyollon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xavier pouyollon CLA 2014-09-30 09:37:45 EDT
Created attachment 247488 [details]
Arm Thumb2 Dwarf4 sample.

Hi,

The attached file for ARM Thumb2 contains new extension for Dwarf4 and the debugger can not read it. The debugger needs to support the .debug_types section as well.

Look at die <9a>

 <1><9a>: Abbrev Number: 16 (DW_TAG_volatile_type)
    <9b>   DW_AT_type        : signature: 0de19c37d255bade

And there is a new section to support:
Contents of the .debug_types section:

  Compilation Unit @ offset 0x0:
   Length:        0x4c (32-bit)
   Version:       4
   Abbrev Offset: 0
   Pointer Size:  4
   Signature:     0de19c37d255bade
   Type Offset:   0x1d
 <0><17>: Abbrev Number: 1 (DW_TAG_type_unit)
    <18>   DW_AT_language    : 1        (ANSI C)
    <19>   DW_AT_stmt_list   : 0x0
 <1><1d>: Abbrev Number: 2 (DW_TAG_structure_type)
....

Thanks !
Comment 1 Eugene Tarassov CLA 2015-03-04 15:34:26 EST
Closing as fixed, because latest agent has full DWARF4 support.