[comp.unix.questions] dbx array question

mwilson@max.arc.nasa.gov (Michael A. Wilson) (09/21/90)

We are debugging some fortran on an SGI (System V unix) using dbx.
Some of the arrays are multidimensional and quite large.  Is there
a way to only look at part of an array?  We can only print out
individual elements of the array, or the whole array, but not part
of it...
--
-------------------------------------------------------------------------------
Mike Wilson, MS 239-4                                  mwilson@max.arc.nasa.gov
NASA Ames Research Center                              (415) 604-5759 day
Moffett Field, CA   94035                              (415) 444-5631 eve

marc@stingray.austin.ibm.com (Marc J. Stephenson/140000;1C-22) (09/22/90)

In article <1990Sep20.214612.14021@news.arc.nasa.gov> mwilson@max.arc.nasa.gov (Michael A. Wilson) writes:
>We are debugging some fortran on an SGI (System V unix) using dbx.
>Some of the arrays are multidimensional and quite large.  Is there
>a way to only look at part of an array?  We can only print out
>individual elements of the array, or the whole array, but not part
>of it...
>--

Not in a stock dbx (as in ported from BSD without enhancements).
For AIX (IBM), we added a subarray mechanism to let users print out
portions of arrays (as in print array(3..6,2..9)), but we had to
add it into dbx.  Sorry. 

-- 
Marc Stephenson (marc@stingray.austin.ibm.com)
DISCLAIMER: The content of this posting is independent of official IBM position.
External: uunet!cs.utexas.edu!ibmaus!auschs!stingray.austin.ibm.com!marc
Internal: marc@stingray.austin.ibm.com 	VNET: MARC at AUSVMQ  T/L: 793-3796