watchpoint on variable in function scope

Tom Tromey tromey@redhat.com
Thu Jun 2 17:22:00 GMT 2011


>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:

Niko> please have a look at the example code below.
Niko> How can i set a watchpoint on i before starting the appliaction?
Niko> it used to work with
Niko> "watch foo::i"

When did this work?
I tried 6.8 and 7.1 and neither worked.

Tom



More information about the Gdb mailing list