[RFA] dwarf2-frame.c sign extension patch
Martin M. Hunt
hunt@redhat.com
Tue Jul 20 19:11:00 GMT 2004
This patch fixes some dwarf2 problems with sign-extension.
2004-07-20 Kevin Buettner and Martin Hunt <hunt@redhat.com>
* dwarf2-frame.c (execute_cfa_program): Fix typo in which the
alignment was being added to the offset instead of multiplied.
(struct comp_unit): Add new field ``signed_addr_p''.
(encoding_for_size): Add new parameter ``signed_addr_p''.
Adjust all callers. Add code for handling signed encodings.
(dwarf2_build_frame_info): Initialize ``unit.signed_addr_p''.
(dwarf2_build_frame_info): Set unit.addr_size.
--
Martin M. Hunt <hunt@redhat.com>
Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfi_patch
Type: text/x-patch
Size: 2606 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040720/9ae25335/attachment.bin>
More information about the Gdb-patches
mailing list