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

Displaying external variables

To display the values of all external variables in a program, use the $e command. External variables are variables in a program that have global scope, or have been defined outside of any function. This may include variables defined in library routines used by your program.

For example, use the $e command to display the following external variables and their values in hexadecimal format in a program:

   environ:	0xff08		
   fcnt:	0x0		
   gcnt:	0x0			
   hcnt:	0x0
   errno:	0x0	
   _bufend:	0x0	

Next topic: An example: tracing multiple functions
Previous topic: -1

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