Whole document tree
18.3 ValuesWhen a value is printed in various contexts, GDB uses annotations to delimit the value from the surrounding text.
If a value is printed using
where history-number is the number it is getting in the value history, history-string is a string, such as `$5 = ', which introduces the value to the user, the-value is the output corresponding to the value itself, and value-flags is `*' for a value which can be dereferenced and `-' for a value which cannot.
If the value is not added to the value history (it is an invalid float
or it is printed with the
When GDB prints an argument to a function (for example, in the output
from the
where argument-name is the name of the argument,
separator-string is text which separates the name from the value
for the user's benefit (such as `='), and value-flags and
the-value have the same meanings as in a
When printing a structure, GDB annotates it as follows:
where field-name is the name of the field, separator-string
is text which separates the name from the value for the user's benefit
(such as `='), and value-flags and the-value have the
same meanings as in a When printing an array, GDB annotates it as follows:
where array-index is the index of the first element being
annotated and value-flags has the same meaning as in a
or a repeated element
In both cases, the-value is the output for the value of the element and whitespace can contain spaces, tabs, and newlines. In the repeated case, number-of-repititons is the number of consecutive array elements which contain that value, and repetition-string is a string which is designed to convey to the user that repitition is being depicted. Once all the array elements have been output, the array annotation is ended with
This document was generated by root on January, 30 2002 using texi2html |