This is the mail archive of the gdb@sourceware.org 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: watchpoint on variable in function scope


>>>>> "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


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