Hello,

  I think I misunderstood how to set hardware breakpoint in gdb. I
would usually do:

gdb> hb *((int*)0x0123456)

  For some reason this is not working anymore:

(gdb) p output.MTime.ModifiedTime
$14 = 1339
(gdb) p &output.MTime.ModifiedTime
$15 = (long unsigned int *) 0x80da27c
(gdb) hb *0x80da27c
Hardware assisted breakpoint 8 at 0x80da27c
(gdb) n
218       import->Delete();
(gdb) p output.MTime.ModifiedTime
$17 = 1679
(gdb) p *0x80da27c
$18 = 1679

So the value was changed but the hardware breakpoint never reacted...

Thanks,
-Mathieu

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to