Re: watchpoint on variable in function scope

Tom Tromey
2011-06-13T17:43:12Z

>>>>> "Sterling" == Sterling Augustine <saugustine@google.com> writes:

Sterling> Tom's test case works fine for me if I compile it as a C program.
Sterling> However, it fails if I compile it as a C++ program. (Using gcc 4.4.3.)

Sterling> Looking at the assembly, the C code names the static "i.1591", but the
Sterling> C++ code uses "_ZZ3foovE1i".

Sterling> So this seems to be a C++ name look up failure. Not sure it
Sterling> how should work.

Could you file this in bugzilla?

Tom