[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | DEBUG | 
| Notice: | Updated locations for reporting QARs -- see note 834.1 | 
| Moderator: | LOWFAT::DIETER | 
|  | 
| Created: | Fri Jan 24 1986 | 
| Last Modified: | Wed Jun 04 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 1868 | 
| Total number of notes: | 8200 | 
1864.0. "SHOW SYMBOL/ADDRESS different Alpha / VAX for array" by CSC32::D_SANFORD () Fri May 23 1997 12:00
          <<< TURRIS::DISK$NOTES_PACK:[NOTES$LIBRARY]FORTRAN.NOTE;1 >>>
                              -< Digital Fortran >-
================================================================================
Note 1308.0      DFVV unable to obtain array address in DEBUGGER         1 reply
CSC32::D_SANFORD                                     35 lines  21-MAY-1997 13:37
--------------------------------------------------------------------------------
    Digital Fortran V6.4-165, OpenVMS VAX V6.2
    When using the DEBUGger to show the address of an array on OpenVMS 
    VAX your given the address of the descriptor, on the Alpha you get
    the address of the array.
    Is there any easy way to get the address of the array on the VAX 
    without modifying the code?  You can modify the code to use %LOC()
    or an EQUIVALENCE statement, but the customer cannot modify the
    code.  The descriptor cannot be read either.
    Regards, Drew Sanford
    C970520-6054
        integer a10(10), aa
        equivalence (a10,aa)
        a10(1)=1
        print *, %loc(a10)
        end
         OpenVMS VAX DEBUG Version V6.2-000
%DEBUG-I-INITIAL, language is FORTRAN, module set to D$MAIN
DBG> sho sym/address a10
data D$MAIN\A10
    descriptor address: 2243701
DBG> sho sym/address aa
data D$MAIN\AA
    address: 512
DBG> ex 2243701
%DEBUG-E-NOACCESSR, no read access to address 00223C75
**************************************************************************
Steve Lionel asked us to use "DBG> EVAL/ADDRESS A10" and that gives 
the address, but the customer was using "DBG> SHOW SYMBOL/ADDRESS *"
to get all the addresses displayed back, since EVAL does not support
wildcard this is not much use.
If you believe this is a bug, then it should be low priority as it
is only a inconvience.
-drew