Has anyone actually gotten "watch", "rwatch" or "awatch" to work on
GDB/Linux/x86?
These commands seem to be to be broken/useless in gdb 5.0, but maybe I'm
just using them wrong...?
for example:
#include <stdio.h>
int main(void)
{
int x;
x = 5;
x = 10;
x = 15;
return(0);
}
Compile:
gcc -g -o ./x ./x.c
gdb ./x
b main
r
watch x != 5
c
Doesn't stop until main returns.
(*shrug*)
--ryan.
|