|
From: Nicholas N. <nj...@ca...> - 2003-09-16 07:43:35
|
On Thu, 11 Sep 2003, Tom Hughes wrote: > 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. I just committed a change to HEAD that does this. I didn't use your patch, but instead some similar changes that I'd already made for Massif. Thanks for the idea. N |