[RFC/TileGX 2/2] fix gdbserver runtime crash
Jiong Wang
jiwang@tilera.com
Tue Sep 17 03:24:00 GMT 2013
TileGX is always 64bit, ptrace always return 64bit data, tilegx32 is
just an ABI.
So the regset size should be regnum * 8 instead of regnum * 4. The
latter cause gdbserver crash.
gdbserver/ChangeLog:
* linux-tile-low.c (tile_regsets): Modify the size field as 64bit for
each register.
please review.
thanks.
---
Regards,
Jiong
Tilera Corporation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-02.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130917/26155183/attachment.bin>
More information about the Gdb-patches
mailing list