|
From: Tom H. <th...@cy...> - 2003-09-11 14:23:00
|
The attached patch modifies valgrind to make it report the location of
any unhandled instructions so that people can more easily tell which
part of their code is causing the problem. With this patch the typical
output changes from:
disInstr: unhandled instruction bytes: 0xF 0x5E 0xC8 0xF
to
disInstr: unhandled instruction bytes: 0xF 0x5E 0xC8 0xF
at 0x416C40E9: (within /usr/X11R6/lib/modules/dri/mga_dri.so)
Obviously if debugging information is available the results are more
detailed.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|