HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gdb on HP-UX
Operating System - HP-UX
1827584
Members
2739
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 01:21 PM
04-01-2002 01:21 PM
gdb on HP-UX
I was using gdb 5.1.1 on HP-UX 11.00. Even with the most simple hello.cpp program, gdb hangs. The detailed steps are:
$gdb hello
GNU gdb 5.1.1
.....
(gdb)run
Starting program .../hello
Then the process stays there forever.
Any suggestion and hint are appretiated.
Sean
$gdb hello
GNU gdb 5.1.1
.....
(gdb)run
Starting program .../hello
Then the process stays there forever.
Any suggestion and hint are appretiated.
Sean
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 11:15 PM
04-01-2002 11:15 PM
Re: gdb on HP-UX
Hi,
See if you have /opt/langtools/bin/gdb
It is the gdb that comes with the HP compilers
/opt/langtools/bin/wdb is a gui to gdb
that works very well.
Regards
Olav
See if you have /opt/langtools/bin/gdb
It is the gdb that comes with the HP compilers
/opt/langtools/bin/wdb is a gui to gdb
that works very well.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 12:57 AM
04-02-2002 12:57 AM
Re: gdb on HP-UX
I've seen this exact same problem on HPUX 11.0. In our case it only occurred when running gdb with a different shell (zsh), but with POSIX shell or ksh everything worked fine. Are you running a different shell? If so, you can try exporting the SHELL environment variable to /usr/bin/sh before running gdb and that should take care of it (at least it did in our case).
The problem is actually caused by a bug in the way HPUX handles signals in certain traced processes - some signals would be lost and hence if a process blocked waiting on this signal it would hang. I'm told its fixed in 11i, but I don't think there's a patch for 11.0.
Regards,
Steve
The problem is actually caused by a bug in the way HPUX handles signals in certain traced processes - some signals would be lost and hence if a process blocked waiting on this signal it would hang. I'm told its fixed in 11i, but I don't think there's a patch for 11.0.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2002 08:44 AM
04-13-2002 08:44 AM
Re: gdb on HP-UX
I have exactly the same problem - gdb (precompiled version 5.1.1) hangs when I try to r(un) my programs. I am experiencing problem on a B180L running HPUX 11.0 and on a 735/125 running 10.20.
I usually use bash, but I also tried to run gdb under sh and ksh with the same results.
I would be thrilled to get the problem solved.
Thanks in advance!
I usually use bash, but I also tried to run gdb under sh and ksh with the same results.
I would be thrilled to get the problem solved.
Thanks in advance!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP