On May 14, 2013, at 12:21 PM, Andrew Pinski wrote:
> I think gdb should support __null anyways. Can you see if a newer
> version of gdb supports it and if it does not, please file a bug?
__null is a private implementation detail of g++. While gdb could support it,
I don't think they have to.
On Tue, May 14, 2013 at 12:18 PM, Mike Stump wrote:
> 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 __nul
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.ope