This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]