[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] using dwarf_step on x86 and amd64

From: David Mosberger
Subject: Re: [libunwind] using dwarf_step on x86 and amd64
Date: Thu, 4 Mar 2004 16:43:00 -0800

>>>>> On Thu, 4 Mar 2004 15:53:14 -0800, Max Asbock <address@hidden> said:

  Max> However I noticed that in parse_cie() fde_encoding is
  Max> initialized to DW_EH_PE_OMIT. When an appropriate augmentation
  Max> string is present this is set to something meaningful. In my
  Max> case the augmentation string is empty, therefore the
  Max> dwarf_parse_fde() fails to read the start IP and IP range
  Max> values and bails out. I believe in the absence of an
  Max> augmentation string fde_encoding needs to be set to
  Max> DW_EH_PE_sdata4 for x86 and DW_EH_PE_sdata8 for amd64 (or'ed
  Max> with DW_EH_PE_datarel?).  Or is the compiler always supposed to
  Max> generate the augmentation string?

I'm not sure.  All of this stuff seems rather poorly documented.
Can you check with the binutils folks?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]