This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/RFA] gdb.cp/classes.exp: Don't try to print local variable out of scope
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: drow at mvista dot com, mec dot gnu at mindspring dot com
- Cc: carlton at kealia dot com, gdb-patches at sources dot redhat dot com,vinschen at redhat dot com
- Date: Tue, 9 Mar 2004 10:27:36 -0500 (EST)
- Subject: Re: [RFC/RFA] gdb.cp/classes.exp: Don't try to print local variable out of scope
mec> Is it okay for gcc to emit debug info that "i" is out of scope here?
drow> I think so. It's unfortunate.
Okay, that makes three people in favor of accepting this limited
scoping from gcc 3.4, good enough for me.
drow> Duplicate the file, then, since we've decided this is a bad practice?
You're right, this is better.
I was secretly hoping not to touch misc.cc at all, because as soon as I
go to touch it, I have to add a proper copyright notice, and then
re-test with all the *.exp anyways.
I'd better get to work.
Michael C