Patch Name: PHSS_27983 Patch Description: s700_800 11.X pxdb patch Creation Date: 02/10/10 Post Date: 02/11/05 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: Debug support tools. Filesets: DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64,v=HP DebugPrg.DEBUG-PRG,fr=B.11.11.05,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_27983 Symptoms: PHSS_27983: JAGad27289: Incorrect debug info for field of struct that is a pointer to the struct JAGad83421: Fortran link gives "pxdb: seek to offset 0xff45b740 (0)" internal error JAGad84143: Incorrect inheritance debug information causes infinite loop in gdb JAGad90392: pxdb -s enable for 64-bit executable doesn't work JAGad96742: DOC_MEMFUNC does not need to have a matching K_END JAGad98976: pxdb wrongly gives error when VFUNC is pointing to K_DOC_MEMFUNC JAGae07397: Instantiated template function from header has missing debug information Defect Description: PHSS_27983: JAGad27289: The TAGDEF entry generated in LNTT for self-referential structure field is not being processed in the current pxdb implementation. JAGad83421: In some cases where pxdb cannot remove VT duplicates (when VT contains non-string constants), the fixing of name pointer is not being done. Bad name pointer causes pxdb to generate incorrect GNTT fixup and the subsequent use of these dntt entry causes this error. JAGad84143: In some cases where pxdb cannot remove VT duplicates (when VT contains non-string constants), the fixing of name pointer is not being done. Bad name pointer causes pxdb to generate incorrect GNTT fixup and the subsequent use of these dntt entry causes this error. JAGad90392: The maximum offset of .dynamic section was not calculated properly, and hence the dynamic table DT_HP_DLD_FLAGS which contains the DT_HP_DEBUG_PRIVATE flag, was not searched with in the .dynamic section.This leads to the failure of pxdb -s enable option for 64-bit executables. JAGad96742: The current pxdb implementation treats both the DOC_FUNCs and DOC_MEMFUNCs in the same manner. But the DOC_MEMFUNCs are for function declarations and the DOC_FUNCs are for function definitions. JAGad98976: The current implementation of pxdb expects VFUNC to point to a MEMFUNC, MODIFIER or FUCN_TEMPLATE. But in DOC mode VFUNC could also have DOC_MEMFUNC as a child and hence pxdb should handle DOC_MEMFUNCs while processing VFUNCs. JAGae07397: While sorting the file QLT entries, the present logic in PXDB splits up an entry if it finds that another file QLT entry is enclosed within (address wise). In some cases, it creates some unnecessary entries, because of incorrect split up. Enhancement: Yes PHSS_27983: This patch adds source file information to errors and warning messages emitted by pxdb. SR: 8606157959 8606214230 8606214951 8606221258 8606227677 8606229925 8606238373 8606256038 Patch Files: DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: DebugPrg.DEBUG-PRG,fr=B.11.11.05,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/bin/pxdb /opt/langtools/bin/pxdb32 /opt/langtools/bin/pxdb64 /opt/langtools/lib/nls/msg/C/pxdb.cat what(1) Output: DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/bin/pxdb: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP92453-02 A.11.0A HP-UX SYMBOLIC DEBUGGER (PXDB wra pper) $Revision: 74.51 $ PHSS_27983 (10.0A PA-RISC) /opt/langtools/bin/pxdb $Revision: 74.51 $ $Date: 02/09/30 10: 55:00 $ DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/bin/pxdb32: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP92453-02 A.10.0A HP-UX SYMBOLIC DEBUGGER (PXDB) $R evision: 75.51 $ PHSS_27983 (10.0A PA-RISC) /opt/langtools/bin/pxdb $Revision: 75.51 $ $Date: 02/09/30 10: 55:00 $ DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/bin/pxdb64: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP92453-02 A.11.0A HP-UX SYMBOLIC DEBUGGER (PXDB) $R evision: 76.51 $ PHSS_27983 (11.0A PA-RISC) /opt/langtools/bin/pxdb64 $Revision: 76.51$ $Date: 02/09/30 10:5 5:00 $ DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/lib/nls/msg/C/pxdb.cat: None cksum(1) Output: DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: 4121056829 90112 /opt/langtools/bin/pxdb DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: 2403995321 188416 /opt/langtools/bin/pxdb32 DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: 2854605448 237568 /opt/langtools/bin/pxdb64 DebugPrg.DEBUG-PRG,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: 879602665 5926 /opt/langtools/lib/nls/msg/C/pxdb.cat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 540 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_27983 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_27983.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_27983. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_27983.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_27983.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_27983.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None