Re: debuggability of DF_REF_LOC

2013-05-14 Thread Mike Stump
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.

Re: debuggability of DF_REF_LOC

2013-05-14 Thread Andrew Pinski
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

debuggability of DF_REF_LOC

2013-05-14 Thread Mike Stump
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