[comp.lang.c] Can gdb continue until variable is modified

tore@bibsyst.UUCP (Tore Morkemo) (05/24/91)

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@bibsyst.no         Fax: +47 34 85 185                !
+----------------------------------------------------------------------+