Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
3. The rest of the debugging operations are the same as that on the HP 9000 HP-UX
platform.
NOTE: Make sure that the user has write permission on /tmp directory and that
there is enough space to create a temporary file of one page size as obtained by
sysconf(_SC_PAGE_SIZE) system call.
14.31.1.1 Limitations of GDB Support under ARIES
No support for debuggers other than HP 9000 HP-UX GDB for debugging HP 9000
applications under ARIES on HP-UX 11i Integrity servers.
No support for old GDB versions (of HP-UX 10.20 and earlier). However, debugging
of HP-UX 10.20 applications using a HP-UX 11.0 (and newer) HP 9000 GDB is
supported.
HP 9000 GDB behaves differently for child processes created using fork() and
vfork() system calls. ARIES emulates fork() and vfork() system calls
identically. The exact behavior shown by HP 9000 GDB under ARIES may differ
from that on a HP 9000 HP-UX server.
If the debugged process is blocking in a system call, any attempt to get to the GDB
command prompt by pressing ctrl-C does not work. The process needs to be killed
from a different shell.
ARIES does not provide true emulation of MxN threads, and thus does not support
debugging of HP 9000 applications that are linked with pthreads library and create
threads in MxN model.
NOTE: The HP 9000 applications linked with MxN pthreads library are emulated
under ARIES as traditional 1x1 threads, and thus can only be debugged under
ARIES as any other non-MxN multi-threaded application.
ARIES supports debugging of 32-bit and 64-bit HP 9000 HP-UX applications using
32-bit HP 9000 HP-UX GDB. 64-bit HP 9000 HP-UX gdb is not supported under
ARIES.
14.31.2 Attaching GDB to an already running emulated process
You can attach GDB to an already running HP 9000 application process on HP-UX 11i
for HP Integrity servers to debug the application. After a successful attach, all of the GDB
commands work in exactly the same manner as they do on an HP 9000 HP-UX server.
14.31 Debugging with ARIES 233