RE: [GD-Linux] watch/awatch?
Brought to you by:
vexxed72
From: Daniel V. <vo...@ep...> - 2001-11-16 07:09:35
|
Works fine here with GNU gdb 20010813 (MI_OUT) which comes with Mandrake 8.1. - Daniel Vogel, Programmer, Epic Games Inc. > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of Ryan > C. Gordon > Sent: Friday, November 16, 2001 1:55 AM > To: gam...@li... > Subject: [GD-Linux] watch/awatch? > > > > 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. > > > > > > _______________________________________________ > Gamedevlists-linux mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-linux > |