Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® OS for Medical 1.1.2: Supplementary Binaries Debugging Information

Date of this edition: November 30, 2021

Target OS: This archive is compatible with targets that are running QNX® Neutrino® that's based on QNX Software Development Platform 6.5.0 SP1.

Host OS: To install and use the contents of this archive, you must have installed the QNX Software Development Platform 6.5.0 with Service Pack 1 and the QNX OS for Medical 1.1.2 on one of the following development hosts:

  • Microsoft Windows 7 Professional 32- and 64-bit or XP Professional SP3
  • Linux Ubuntu 12.04 LTS or RedHat Enterprise Linux 5.4 Desktop 32- and 64-bit

For more information, see Installing and Using the QNX OS for Medical and QNX OS for Medical 1.1.2 Patch (Patch ID 4888): Installation Note.


Note: This debugging information isn't part of the IEC 62304-compliant product, but could be useful during the development and debugging phases of a project that will deploy the QNX OS for Medical 1.1.2.

Debugging information for shipped binaries

We generate QNX SDP binaries with debugging information (-g). With few exceptions, all binaries are available with debugging information, but this data as well as the .ident information are stripped and stored in a separate binaryName.sym file. There's no need for a separate debug version of all the binaries.

This tar file contains the following .sym files:

  • target/qnx6/armle-v7/usr/sbin/medicalv11_suppl/tracelogger-medicalv11.sym
  • target/qnx6/armle-v7/boot/sys/medicalv11_suppl/procnto-medicalv11-instr.sym
  • target/qnx6/armle-v7/boot/sys/medicalv11_suppl/procnto-medicalv11-smp-instr.sym
  • target/qnx6/x86/usr/sbin/medicalv11_suppl/tracelogger-medicalv11.sym
  • target/qnx6/x86/boot/sys/medicalv11_suppl/procnto-medicalv11-instr.sym
  • target/qnx6/x86/boot/sys/medicalv11_suppl/procnto-medicalv11-smp-instr.sym

These *.sym files are in CPU-specific tar files. To use these files, do the following:

  1. Log in as root on your target system.
  2. Download the QOSM_1.1.2_supplemental_debug.tar file from our website.
  3. cd base_directory/install

    where base_directory is where you installed QNX SDP 6.5.0.

  4. Extract the contents of the file:

    tar -xvf path/QOSM_1.1.2_supplemental_debug.tar

To use these files, you can either:

  • start gdb with the --with-separate-debug-dir=path_to_debug_directory option

or:

  • use the set debug-file-directory path_to_debug_directory command in gdb

For more information, see https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files.

Technical support

If you have any questions, comments, or problems with a QNX product, please contact Technical Support. For more information, see the How to Get Help chapter of the Welcome to the QNX Software Development Platform guide or visit our website, www.qnx.com.