[comp.sys.sun] dbx array printing?

chuck@morgan.com (Chuck Ocheret) (02/22/89)

Attention dbx gurus.  What is the dbx syntax (if there is one) to display
a range of array elements?  VMS DEBUG lets you specify these ranges like
X[10..32].  I haven't been able to find this in a manual so I have written
routines for basic types which I must link in with the programs I am
debugging.  For example, to look at elements 10 to 32 from an integer
array I type the command:

(dbx) call pintarray(array, 10, 32)

There simply must be a better way.

Chuck Ocheret
Morgan Stanley & Co., Inc.
1251 Avenue of the Americas
New York, N.Y.  10020
(212)-703-4474
chuck@morgan.com