f

Format: f "printf_style_format"

Sets address printing format using printf style formatting specification. See any C reference for more information on printf. If no argument exists, this defaults to "%#lx", which prints the address in long hex. This is for viewing memory addresses in decimal, octal, or some other format.

For example, entering:
print a

may by default give:
*0x21098: 5

You may get the address in octal instead by entering the following:
f "0%o"; print a

which will show:
*0410230: 5

All future addresses will also be in this format until f is used again.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.