This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Debug info for global var decls
On Sat, Jul 21, 2001 at 08:18:16PM +0100, Neil Booth wrote:
> b.t.w. I get a lot of gdb failures (without this patch). Is this
> normal?
I was getting around 217 failures, but several of the ones I did
examine were transient -- they'd fail one run and pass the next.
Moreover, the output _did_ match the test regexp. I have no idea
what's going on with that.
> + && DECL_RTL (decl))
Use DECL_RTL_SET_P.
> + tree decl = get_decls ();
It's getdecls.
> + unsigned int len = list_len (decl);
It's list_length. You didn't compile this did you.
> + && DECL_RTL (decl) != 0)
DECL_RTL_SET_P again.
Otherwise it looks ok.
r~