[patch] Fix DWARF dumping code to handle DW_OP_const2u correctly

nick clifton nickc@redhat.com
Wed May 15 07:34:00 GMT 2013


Hi Cary,

> 2013-05-14  Cary Coutant  <ccoutant@google.com>
>
> binutils/
>          * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
>          don't increment PTR.
>          (decode_location_expression): DW_OP_const2u should read 2 bytes.
>          (display_debug_lines_decoded): Adjust formatting.
>          * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
>          7-byte reads.
>          (byte_get_big_endian): Likewise.
>          (byte_get_signed): Likewise.

Approved - please apply.

Cheers
   Nick

PS.  Thanks for fixing these snafus!



More information about the Binutils mailing list