X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftdep-x86_64%2Fdwarf-config.h;h=ff77808e0694646ecb8b97006d00db79f3b35cb4;hb=c3646297060ae1629ff1d1b10f648267f0495a0f;hp=d3cbe7c27ae13443d054f1df8da544c8f0ff7d2a;hpb=0349587920c255c479240518d9c04581977144eb;p=platform%2Fupstream%2Flibunwind.git diff --git a/include/tdep-x86_64/dwarf-config.h b/include/tdep-x86_64/dwarf-config.h index d3cbe7c..ff77808 100644 --- a/include/tdep-x86_64/dwarf-config.h +++ b/include/tdep-x86_64/dwarf-config.h @@ -1,6 +1,6 @@ /* libunwind - a platform-independent unwind library Copyright (c) 2003, 2005 Hewlett-Packard Development Company, L.P. - Contributed by David Mosberger-Tang + Contributed by David Mosberger-Tang Modified for x86_64 by Max Asbock @@ -33,26 +33,24 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* XXX need to verify if this value is correct */ #ifdef CONFIG_MSABI_SUPPORT -#define DWARF_NUM_PRESERVED_REGS 33 +#define DWARF_NUM_PRESERVED_REGS 33 #else -#define DWARF_NUM_PRESERVED_REGS 17 +#define DWARF_NUM_PRESERVED_REGS 17 #endif -#define DWARF_REGNUM_MAP_LENGTH DWARF_NUM_PRESERVED_REGS +#define DWARF_REGNUM_MAP_LENGTH DWARF_NUM_PRESERVED_REGS /* Return TRUE if the ADDR_SPACE uses big-endian byte-order. */ -#define dwarf_is_big_endian(addr_space) 0 +#define dwarf_is_big_endian(addr_space) 0 /* Convert a pointer to a dwarf_cursor structure to a pointer to unw_cursor_t. */ -#define dwarf_to_cursor(c) ((unw_cursor_t *) (c)) +#define dwarf_to_cursor(c) ((unw_cursor_t *) (c)) typedef struct dwarf_loc { unw_word_t val; -#ifndef UNW_LOCAL_ONLY - unw_word_t type; /* see X86_LOC_TYPE_* macros. */ -#endif + unw_word_t type; /* see X86_LOC_TYPE_* macros. */ } dwarf_loc_t;