I'm trying to debug my gcc compiled code on my HPUX 11.23 (Itanium).
I searched the machine to find something that looks like a compiler, and what I found was :
adb (a bit unfriendly for debugging)
kwdb (I understand this is a kernel debugger)
gdb32
gdb64
gdbpa
When I run either gdb32, gdb64 or gdbpa and write
I get in all cases the following message:
As far as I know my code is 32 bit, but I tried the 64 just in case - to no avail.
I thought maybe I'm missing some part of the gdb installation, and tried installing from the gnu site, both gdb5.3 and gdb6.7, but when I run the 'configure' on both they say they do not support my configuration of HPUX 11.23.
What debugger can I use here? Why won't the gdb32 debug my code? What is IPF gdb and where can I get it?
Hi, I got:
host machine: RedHat (RHEL6)
virtual machine: RedHat (RHEL6)
I run (on host machine):
qemu-system-x86_64 ...... -S -s
after that i run (on host machine):
gdb
target remote localhost:1234
set architecture i386:x86-64
and then i can use (on host machine) 'ctrl + c' to... (2 Replies)
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Hi All,
I am trying to execute a binary and it is giving Segmentation Fault.
Can I use gdb to debug this error?
Secondly there is no core file generated , so when I an trying to run gdb with the binary only I am not able to set any breakpoints.
When I am running the gdb and the I am... (1 Reply)
Hi All,
I wanted to know if there is a core file generated and I am not sure for which Binary it is generated .
Can I use gdb to debug the core file ?
Thanks. (1 Reply)
Hi,
If any one has idea regarding the link to download the following version of gdb HP gdb 3.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
Thanx & Regards...
P (1 Reply)
Can anyone give me the link to a website having gdb tutorials
(for advanaced debugging & shortcuts)
http://www.burneddowndays.com/talk/YaBBImages/rolleyes.gif (1 Reply)
Which is better??
I have always been a gdb fan.. But ppl say dbx is beter better for debugging the core.. Do all GDB lovers agree to it???
:cool: (1 Reply)
adb(1) User Commands adb(1)NAME
adb - general-purpose debugger
SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]]
DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the
execution of programs.
The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used
to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete
backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular
Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by
default when the adb link is executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdb |
+-----------------------------+-----------------------------+
SEE ALSO mdb(1), attributes(5)
Solaris Modular Debugger Guide
SunOS 5.10 19 Aug 2003 adb(1)