[PATCH] Make SIZE element for dwarf_block as size_t
Siddhesh Poyarekar
siddhesh@redhat.com
Sun Jul 22 08:28:00 GMT 2012
On Sun, 22 Jul 2012 13:16:58 +0530, Siddhesh wrote:
> 2012-07-22 Siddhesh Poyarekar <siddhesh@redhat.com>
>
> * 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.
>
> [1] http://sourceware.org/ml/gdb-patches/2012-06/msg00851.html
A small adjustment to this patch to adjust for the expansion of
dwarf_block.size -- a couple of local variables in decode_locdesc
needed expansion as well.
Regards,
Siddhesh
2012-07-22 Siddhesh Poyarekar <siddhesh@redhat.com>
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwblock-size.patch
Type: text/x-patch
Size: 1948 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120722/3066e155/attachment.bin>
More information about the Gdb-patches
mailing list