On Mon, Jul 6, 2015 at 2:52 AM, Dilyan Palauzov
<[email protected]> wrote:

> ../include/dwarf_i.h:20:22: warning: type of
> '_ULx86_64_dwarf_to_unw_regnum_map' does not match original declaration
>  extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
>                       ^
> ../include/dwarf_i.h:20:22: warning: type of
> '_ULx86_64_dwarf_to_unw_regnum_map' does not match original declaration
> x86_64/Gglobal.c:37:22: note: previously declared here
>  HIDDEN const uint8_t dwarf_to_unw_regnum_map[DWARF_NUM_PRESERVED_REGS] =
>                       ^

http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=include/tdep-x86_64/dwarf-config.h;h=ff77808e0694646ecb8b97006d00db79f3b35cb4;hb=HEAD#l41

> #define DWARF_REGNUM_MAP_LENGTH         DWARF_NUM_PRESERVED_REGS

On x86_64, they should be identical. Could you look at the output of
the preprocessor to see if another definition from somewhere else is
sneaking in?

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to