这个构造体的父 DIE 是如许的:
- < 1><0x0000002a> DW_TAG_structure_type
- DW_AT_name "test"
- DW_AT_byte_size 0x000000b8
- DW_AT_decl_file 0x00000001 test.cpp
- DW_AT_decl_line 0x00000001
膳绫擎说的是我们有一个叫做 test 的构造体,大年夜小为 0xb8,在 test.cpp 的第 1 行声明。接下来竽暌剐很多描述成员的子 DIE。
- < 2><0x00000032> DW_TAG_member
- DW_AT_name "i"
- DW_AT_type <0x00000063>
- DW_AT_decl_file 0x00000001 test.cpp
- DW_AT_decl_line 0x00000002
- DW_AT_data_member_location 0
- < 2><0x0000003e> DW_TAG_member
- DW_AT_name "j"
- DW_AT_type <0x0000006a>
- DW_AT_decl_file 0x00000001 test.cpp
- DW_AT_decl_line 0x00000003
- DW_AT_data_member_location 4
- < 2><0x0000004a> DW_TAG_member
- DW_AT_name
推荐阅读
截止今朝开源中国收录了 44513 款开源项目,囊括了最热点的各类开源项目,而软件的评分在必定程度上代表了软件的质量和热度,而重要用 HTML/CSS 编写的项目中也有很多值得救鉴的处所,是以>>>详细阅读
本文标题:开发一个Linux调试器(九):处理变量
地址:http://www.17bianji.com/lsqh/37722.html
1/2 1