- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problems with wdb 5.0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-25-2004 08:21 PM
тАО11-25-2004 08:21 PM
problems with wdb 5.0
i use wdb 5.0 on a zx6000/hp-ux 11.2.
problem:
(gdb) p r[2]
cannot subscript something of type `DVector'
(r is of type DVector (C++-class with userdefined operator [ ]), according to 'debugging with gdb' this should work)
(gdb) p *(r.vec+2)
$1 = 5
works fine, but isn't that comfortable.
any ideas?
thanks for your help
- Tags:
- gdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 07:05 AM
тАО11-30-2004 07:05 AM
Re: problems with wdb 5.0
Himabindu Vuppula
WDB Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 07:19 PM
тАО11-30-2004 07:19 PM
Re: problems with wdb 5.0
some additional hints:
1. compiling the same code with gcc 3.4.3 instead of aCC leads to the following output:
(gdb) p r[2]
$1 = (double &) @0x0: Error accessing memory address 0x0: Invalid argument.
2. doing the same on a suse9.1/athlon64-machine with gcc 3.3.3 and gdb 6.1 (ddd gui) gives
(gdb) p r[2]
$1 = (double &) @0x2018cc8: 5
so everything works as it should on a newer (?) gdb version.
i hope this helps
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 04:23 AM
тАО12-01-2004 04:23 AM
Re: problems with wdb 5.0
FSF gdb and HP gdb have diverged a long time ago. This problem might have been fixed in FSF gdb. We have to get this fix into HP's gdb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 06:53 PM
тАО12-01-2004 06:53 PM
Re: problems with wdb 5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 07:09 AM
тАО12-02-2004 07:09 AM
Re: problems with wdb 5.0
Himabindu Vuppula
WDB Team