DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
adb: absolute debugger

Setting default input format

To set the default format for numbers used in commands, use the $d (decimal), $o (octal), and $x (hexadecimal) commands. The default format tells adb how to interpret numbers that do not begin with 0 or 0x, and how to display numbers when no specific format is given.

The commands are useful when working with a combination of decimal, octal, and hexadecimal numbers. For example, if the following combination is used, hexadecimal addresses can be specified without prepending each with 0x. Furthermore, adb displays all numbers in hexadecimal except those that are specifically requested to be in some other format:

   $x
adb's default format is decimal. To change or restore this at any time, use the $d command.

Next topic: Using UNIX commands
Previous topic: Setting the maximum offset

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003