Re: Fw: Extending calling convention information in DWARF output for x86

2012-06-06 Thread Michael Eager
On 06/06/2012 09:28 AM, Roger Cruz wrote: Hi Michael, Thanks for replying to my questions. What I like to obtain somehow is the calling convention of each routine so I can tell who is responsible for cleaning off the stack. Two calling > conventions of interest to me are: _stdcall and _cdecl

Re: Fw: Extending calling convention information in DWARF output for x86

2012-06-06 Thread Roger Cruz
offset: 0x117d6): name      <267c9>   DW_AT_decl_file   : 2     <267ca>   DW_AT_decl_line   : 216       <267cb>   DW_AT_type    : <0x1a509>     <267cf>   DW_AT_location    : 2 byte block: 91 74   (DW_OP_fbreg: -12) How can the above information be u

Re: Fw: Extending calling convention information in DWARF output for x86

2012-06-06 Thread Michael Eager
On 06/06/2012 06:40 AM, Roger Cruz wrote: Adding dwarf-discuss@ to CC. I am interested in parsing DWARF debug output in order to know the calling convention of each function. Reading the spec for DWARF-4, I can see that there is an attribute DW_AT_calling_convention but its only defined valu