Cleanup value_primitive_field
Vladimir Prus
vladimir@codesourcery.com
Tue Jan 23 12:59:00 GMT 2007
This patch makes value_primitive_filed copy full value->location, not just
VALUE_ADDRESS -- just the same that Jim has done to value_copy.
No changes in behaviour so far and no regressions on x86. OK?
- Volodya
* value.c (value_primitive_field): Copy the full 'location' contents, instead
of assuming that copying ADDRESS will bring over everything in the
union. Remove obsolete comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: value_primitive_field__gdb_mainline.diff
Type: text/x-diff
Size: 628 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070123/b4100e2c/attachment.bin>
More information about the Gdb-patches
mailing list