Hi, This is version 2 of the patch I posted in the following thread: http://sourceware.org/ml/gdb-patches/2012-07/msg00422.html dwarf_block.SIZE should be size_t to accept larger data blocks in case of DW_FORM_block, since the size of the length of a DW_FORM_block is not specified and can be anything encoded in a uleb128. The dwarf2_loclist_baton and dwarf2_locexpr_baton SIZE members also need to be made size_t just to eliminate splint warnings. I haven't been able to figure out a test case to reproduce this problem, so I have stuck to ensuring that it does not cause a regression in the testsuite. I have also done another pass through the code to make sure that there are no other places that need fixing as a result of this. Regards, Siddhesh gdb/ChangeLog: 2012-07-25 Siddhesh Poyarekar * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter SIZE to size_t. (dwarf2_evaluate_loc_desc): Likewise. (dwarf2_loc_desc_needs_frame): Likewise. (locexpr_describe_location_1): Likewise. * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as size_t. (struct dwarf2_loclist_baton): Likewise. * dwarf2read.c (struct dwarf_block): Likewise. (dump_die_shallow): Use pulongest to print dwarf_block.size. (decode_locdesc): Expand SIZE and I to size_t.