Stopping Execution When Variables Change
andy wang
ypwangreg@gmail.com
Sun Dec 24 23:34:00 GMT 2006
Hi, All:
Last question before Xmas :-) I want to find the same function in gdb
as in sun's dbx
I can't find it in GDB manual so I came here. Thanks in advanced!
============ the following is from sun dbx manual =========
topping Execution When Variables Change
To stop program execution if the value of a specified variable has
changed, type:
(dbx) stop change variable
Keep these points in mind when using the stop change command:
* dbx stops the program at the line after the line that caused a
change in the value of the specified variable.
* If variable is local to a function, the variable is considered
to have changed when the function is first entered and storage for
variable is allocated. The same is true with respect to parameters.
* The command does not work with multithreaded applications.
For more information on specifying a change event, see change variable
and stop Command.
More information about the Gdb
mailing list