[Dwarf-Discuss] Meaning of DW_AT_segment value

Anthony Berent Anthony.Berent at arm.com
Thu Mar 12 10:37:06 PDT 2009


Hi,

 

I am implementing some support for DW_AT_segment in gdb (in order to
provide support for ARM Data Engines, see my previous emails). Is the
value of a segment attribute the absolute segment value, or is it the
location of the segment value? For example, in an Intel 8086
architecture would one expect the segment attribute expression for
variable on the stack to be "DW_OP_breg<SS> 0" or "DW_OP_reg<SS>" where,
in both cases, <SS> is the register number of the stack segment
register?

 

-          Anthony

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/attachments/20090312/3edbde1f/attachment-0001.htm>


More information about the Dwarf-Discuss mailing list