======================================================================= Hewlett-Packard OpenVMS ECO Release Notes ======================================================================= 1 KIT NAME: VMS84I_DEBUG-V0100 2 KIT DESCRIPTION: 2.1 Installation Rating: INSTALL_3 : To be installed by customers experiencing the problems corrected. 2.2 Reboot Requirement: No reboot is necessary after installation of this kit, however, there are additional steps that must be performed in order to use the images provided by this kit. Refer to the section titled Special Installation Instructions for required post-installation actions. 2.3 Version(s) of OpenVMS to which this kit may be applied: OpenVMS Integrity servers V8.4 2.4 New functionality or new hardware support provided: No 3 KITS SUPERSEDED BY THIS KIT: - None 4 KIT DEPENDENCIES: 4.1 The following remedial kit(s), or later, must be installed BEFORE installation of this, or any required kit: - VMS84I_PCSI-V0200 - VMS84I_UPDATE-V0300 Page 2 4.2 In order to receive all the corrections listed in this kit, the following remedial kits, or later, should also be installed: - None 5 NEW FUNCTIONALITY AND/OR PROBLEMS ADDRESSED IN THE VMS84I_DEBUG-V0100 KIT 5.1 New functionality addressed in this kit Not Applicable 5.2 Problems addressed in this kit 5.2.1 Debugger unable to examine certain complex data structures. 5.2.1.1 Problem Description: Debugger unable to expand complex unions or structures while examining them. An example of the problem is given below: $ type test.c #include typedef struct _A{ int i; struct { int j; int k; struct _A *p; } ST; }A; void main() { A a1,a2; a1.i = 10; a1.ST.j=11; a1.ST.k=12; a1.ST.p=0; a2.i = 210; a2.ST.j=211; a2.ST.k=212; a2.ST.p=&a1; } While debugging the above program, we get the following result: Page 3 DBG> ex a2 TEST\main\a2 i: 210 ST j: 211 k: 212 p: 2060327712 DBG> ex *a2.ST.p *TEST\main\a2.ST.p i: 10 ST: 51539607563 [cycle found in type definitions] The debugger does not expand ST when examining by dereferencing a pointer. Similar behavior happens for unions too. This is a limitation in the current debugger implementation of examine command. This has been overcome by providing an additional option to examine: examine/expand. The examine/expand behaves as below: DBG> examine/expand *a2.ST.p %DEBUG-I-EXAMEXPAND, Use examine/expand with caution *TEST\main\a2.ST.p i: 10 ST j: 11 k: 12 p: 0 DBG> Note that in case of genuine loops in the structure, such as the one below, the examine/expand behavior is undefined. The debugger can go into an infinite loop and in such cases, the use of examine/expand should be avoided. $ type a.cxx struct B; struct A { B &x; A( B &x ); }; struct B { A y; B(); }; A::A( B &xx ) : x(xx) {} B::B( ) : y( *this ) {} B b; //A a(b); Page 4 void main() { B b1; A a1(b1); } Images Affected: - [SYSLIB]DBG$HA_KERNEL.EXE - [SYSLIB]DBG$HA_MAIN.EXE - [SYSMSG]DBGTBKMSG.EXE - [SYSLIB]DEBUG.EXE - [SYSLIB]DEBUGSHR.EXE - [SYSLIB]DEBUGSRVSHR.EXE - [SYSLIB]DEBUGUISHR.EXE - [SYSLIB]TRACE.EXE - [SYSHLP]DBG$HELP.HLB 5.2.1.2 Quix and PTR cases reporting this problem: 5.2.1.2.1 Quix Cases QXCM1001066530 5.2.1.2.2 PTR(s) None. 5.2.1.3 Release Version of OpenVMS that will contain this change: Next release of OpenVMS Integrity after V8.4 5.2.1.4 Work-arounds: None. Page 5 6 FILES PATCHED OR REPLACED: o [SYSLIB]DBG$HA_KERNEL.EXE (new image) Image Identification Information Image name: "DBG$HA_KERNEL" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:31.81 Overall Image Checksum: F15DFC01 o [SYSLIB]DBG$HA_MAIN.EXE (new image) Image Identification Information Image name: "DBG$HA_MAIN" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:27.88 Overall Image Checksum: 26E710E6 o [SYSMSG]DBGTBKMSG.EXE (new image) Image Identification Information Image name: "DBGTBKMSG" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:16.10 Overall Image Checksum: 18D626C7 o [SYSLIB]DEBUG.EXE (new image) Image Identification Information Image name: "DEBUG" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:07.10 Overall Image Checksum: 243C847E o [SYSLIB]DEBUGSHR.EXE (new image) Image Identification Information Image name: "DEBUGSHR" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:18:44.79 Overall Image Checksum: EEADE8C2 Page 6 o [SYSLIB]DEBUGSRVSHR.EXE (new image) Image Identification Information Image name: "DEBUGSRVSHR" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:01.54 Overall Image Checksum: E8516CBD o [SYSLIB]DEBUGUISHR.EXE (new image) Image Identification Information Image name: "DEBUGUISHR" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:19:16.02 Overall Image Checksum: A088619A o [SYSLIB]TRACE.EXE (new image) Image Identification Information Image name: "TRACE" image file identification: "V8.4-001" image file build identification: "0100000004" linker identification: "Linker I02-37" Link Date/Time: 1-MAR-2011 12:16:03.43 Overall Image Checksum: C71D9CD2 o [SYSHLP]DBG$HELP.HLB (new file) 7 INSTALLATION INSTRUCTIONS 7.1 Test/Debug Image Loss In the course of debugging problems reported to OpenVMS Engineering, customers may be given debug or point-fix images to install. Typically, these images do not have the same image generation flags contained in images released via the OpenVMS remedial patch process. Because of this, any debug or point-fix image that is in the SYS$COMMON area, will be replaced by any image of the same name installed by this kit. If this occurs, you will lose any functionality that is provided by the replaced image. If you wish to retain these debug or point-fix images, you can take the following steps: o Prior to installing this kit, move the test/debug image(s) to be saved to the SYS$SPECIFIC area. Page 7 o During kit installation, you will be asked if you wish to delete the image(s) in SYS$SPECIFIC. You should answer NO for each image that you want to keep. o After installation completes, but before rebooting the system (if required), move the image(s) from SYS$SPECIFIC back to SYS$COMMON. 7.2 Compressed File This kit is provided as a Self Extracting ZIPEXE kit. To expand this file to the installable .PCSI file, run the file with the following command: $ RUN VMS84I_DEBUG-V0100.ZIPEXE 7.3 Installation Command Install this kit with the POLYCENTER Software installation utility by logging into the SYSTEM account, and typing the following at the DCL prompt: PRODUCT INSTALL VMS84I_DEBUG[/SOURCE=location of Kit] Note that this kit will install with the /SAVE_RECOVERY_DATA option turned on. Using this qualifier will allow easy removal of the kit from the system in the event of problems. If you wish to disable this option you must use the /NOSAVE_RECOVERY_DATA qualifier on the PRODUCT INSTALL command. The /SAVE_RECOVERY_DATA qualifier is optional but highly recommended. Using this qualifier will allow easy removal of the kit from the system in the event of problems. The kit location may be a tape drive, CD, or a disk directory that contains the kit. The /SOURCE qualifier is not needed if the PRODUCT INSTALL command is executed from the same directory as the kit location. Additional help on installing PCSI kits can be found by typing HELP PRODUCT INSTALL at the system prompt. 7.4 Scripting of Answers to Installation Questions During installation, this kit will ask and require user response to several questions. If you wish to automate the installation of this kit and avoid having to provide responses to these questions, you must create a DCL command procedure that includes the following logical name definitions and commands: Page 8 o To avoid the BACKUP question, define the following: $ DEFINE/SYS NO_ASK$BACKUP TRUE o To save replaced files as *.*_OLD define the following logical name as YES. If you do not wish to save replaced files, define the logical name as NO. Note that if you use the /SAVE_RECOVERY_DATA qualifier (recommended) on the PRODUCT INSTALL command all replaced files will be saved as part of that operation. There is no need to also save files as *.*_OLD: $ DEFINE/JOB ARCHIVE_OLD NO o Add the following qualifiers to the PRODUCT INSTALL command and add that command to the DCL procedure. /PROD=HP/BASE=I64VMS/VER=V1.0 [/SOURCE=location of Kit] o De-assign the logical names assigned For example, a sample command file to install the VMS84I_DEBUG-V0100 kit would be: $ DEFINE/SYS NO_ASK$BACKUP TRUE $ DEFINE/JOB ARCHIVE_OLD NO $! $ PROD INSTALL VMS84I_DEBUG/PRODUCER=DEC/BASE=I64VMS/VER=V1.0" $! $ DEASSIGN/SYS NO_ASK$BACKUP $! $ exit $! 7.5 Special Installation Instructions: If this kit is being installed in a clustered environment with a shared system disk, in order for all members of the cluster that share the system disk to make use of the new image, you must execute the following command on each node that is sharing the system disk (except for the node on which the installation was performed ; the installation has already done the INSTALL REPLACE on that node). : INSTALL REPLACE SYS$LIBRARY:DEBUG.EXE INSTALL REPLACE SYS$LIBRARY:DEBUGSHR.EXE INSTALL REPLACE SYS$LIBRARY:DEBUGUISHR.EXE INSTALL REPLACE SYS$MESSAGE:DBGTBKMSG.EXE INSTALL REPLACE SYS$LIBRARY:TRACE.EXE Once installed, users will need to logout and login back in order to use the new image. Page 9 8 COPYRIGHT AND DISCLAIMER: (C) Copyright 2011 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP and/or its subsidiaries required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Neither HP nor any of its subsidiaries shall be liable for technical or editorial errors or omissions contained herein. The information in this document is provided "as is" without warranty of any kind and is subject to change without notice. The warranties for HP products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty. DISCLAIMER OF WARRANTY AND LIMITATION OF LIABILITY THIS PATCH IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED TO THE EXTENT PERMITTED BY APPLICABLE LAW. IN NO EVENT WILL HP BE LIABLE FOR ANY LOST REVENUE OR PROFIT, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, WITH RESPECT TO ANY PATCH MADE AVAILABLE HERE OR TO THE USE OF SUCH PATCH.