- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Debugging format support for stabs- aCC
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
тАО02-10-2010 01:02 AM
тАО02-10-2010 01:02 AM
Debugging format support for stabs- aCC
The code works on the ELF format ( which is the format supported for Itanium binaries) , but the code expects a stab section in the binaries. Although the "stab" format is pretty outdated, the SUN's C compiler and gcc still support them.
In gcc , one can use the -stab option and for Sun's compiler one can use the option -xdebugformat=stabs .
Does aCC compiler (HP C/aC++ B3910B A.06.15 ) also allow creation of debug information to be stored in the stab format. If yes , please explain how to achieve this.
- Tags:
- debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 01:47 AM
тАО02-10-2010 01:47 AM
Re: Debugging format support for stabs- aCC
- Tags:
- Dwarf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 02:09 AM
тАО02-10-2010 02:09 AM
Re: Debugging format support for stabs- aCC
You may want to look at these threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1369744
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1397569
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 02:24 AM
тАО02-10-2010 02:24 AM
Re: Debugging format support for stabs- aCC
My program criteria is that my input is a set of shared libraries (built with debug information)and my program needs to extract debug information from the shared libraries.
This would be similar to what a debugger does to extract source information from the binaries.
Is there any API's or sample source code already available to extract debug information from HP IA binaries built using the aCC compiler ( DWARF 2 format) that I could use ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 02:55 AM
тАО02-10-2010 02:55 AM
Re: Debugging format support for stabs- aCC
You don't need access to the source code of the shlib, you need access to source code somewhere in the application.
>My program criteria is that my input is a set of shared libraries (built with debug information) and my program needs to extract debug information from the shared libraries.
>This would be similar to what a debugger does
This program is called "gdb". :-)
You can create an input script for gdb, do the hard stuff there, then process the output.
>Are there any APIs or sample source code already available to extract debug information from HP IA binaries built using the aCC compiler that I could use?
Only if you can dynamically load those shlibs and then look at them.