debuggability of DF_REF_LOC
Mike Stump
mikestump@comcast.net
Tue May 14 19:18:00 GMT 2013
I was trying to debug with DF_REF_LOC in gdb on linux, and got:
(gdb) p DF_REF_LOC (*ref) == recog_data.operand_loc[op]
No symbol "__null" in current context.
My fingers were not amused. I found if I did:
(gdb) macro define __null 0
then I could do:
(gdb) p DF_REF_LOC (*ref) == recog_data.operand_loc[op]
$3 = true
and my fingers were again happy.
I checked this in.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: d.diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130514/5224e37f/attachment.txt>
-------------- next part --------------
More information about the Gcc-patches
mailing list