On Tue, May 14, 2013 at 12:18 PM, Mike Stump <mikest...@comcast.net> 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 __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.

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?

Thanks,
Andrew

Reply via email to