value=value

The -var-assign command

Synopsis

-var-assignname expression

Assigns the value of expression to the variable object specified by name. The object must be 'editable'.

The -var-update command

Synopsis

-var-update {name "*"}

Update the value of the variable object name by evaluating its expression after fetching all the new values from memory or registers. A '*' causes all existing variable objects to be updated.

21.14 GDB/MI variable objects 359

Page 359
Image 359
HP gnu source-level debugger 5992-4701 manual var-assign command, var-update command