This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][v2] Make SIZE element for dwarf_block as size_t
>>>>> "Siddhesh" == Siddhesh Poyarekar <siddhesh@redhat.com> writes:
Siddhesh> I haven't been able to figure out a test case to reproduce this
Siddhesh> problem, so I have stuck to ensuring that it does not cause a
Siddhesh> regression in the testsuite.
I think that is good enough.
Siddhesh> 2012-07-25 Siddhesh Poyarekar <siddhesh@redhat.com>
Siddhesh> * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
Siddhesh> SIZE to size_t.
Siddhesh> (dwarf2_evaluate_loc_desc): Likewise.
Siddhesh> (dwarf2_loc_desc_needs_frame): Likewise.
Siddhesh> (locexpr_describe_location_1): Likewise.
Siddhesh> * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as
Siddhesh> size_t.
Siddhesh> (struct dwarf2_loclist_baton): Likewise.
Siddhesh> * dwarf2read.c (struct dwarf_block): Likewise.
Siddhesh> (dump_die_shallow): Use pulongest to print dwarf_block.size.
Siddhesh> (decode_locdesc): Expand SIZE and I to size_t.
Ok.
Tom