Can gdb continue until variable is modified

Tore Morkemo tore at bibsyst.UUCP
Fri May 24 04:23:50 AEST 1991


Hi !

sdb has variable$m which steps the program until _variable_ is modified.
Is there a similar function i gdb ?

>From the gdb manual I found out that gdb have got conditional
breakpoints but as far as I can find out that's not the same.
gdb's conditional breakpoints seems to stop at a *specified* position *if*
the condition is true and that's not what I want. I would like gdb to stop
*when* the condition *becomes* true.

Tore.

+----------------------------------------------------------------------+
!   Tore Morkemo, Bibliotek-Systemer A/S, N-3250 Larvik, Norway        !
!   uucp: ...nuug!bibsyst.no!tore    Tel: +47 34 82 202                !
!            tore at bibsyst.no         Fax: +47 34 85 185                !
+----------------------------------------------------------------------+



More information about the Comp.unix.programmer mailing list