- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How do I get C program tracebacks to print SOU...
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
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
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
03-07-2012 05:38 AM - edited 03-07-2012 06:08 AM
03-07-2012 05:38 AM - edited 03-07-2012 06:08 AM
Re: How do I get C program tracebacks to print SOURCE line numbers instead of LISTING line numbers?
About these developer tools for VMS, I hear that computers and these "software-program-thingies" are good at this sort of stuff. The sort of stuff that developers find, well, tedious or gnarly. Tracebacks. Crashes. Bug reporting and source control.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2012 04:19 AM
03-10-2012 04:19 AM
Re: How do I get C program tracebacks to print SOURCE line numbers instead of LISTING line numbers?
With the relative Program Counters displayed in the traceback information, use binutils/addr2line to get the source files and their line number. Of course you will have to compile/link your code with /DEBUG[/NOOPTIMIZE].
And for your VMS image, you may perform either one of the following:
$ run/nodebug myprog
or
$ set image/flags=(nocall_debug) myprog.exe
$ run myprog
For more information about binutils/addr2line on OpenVMS Alpha or IA64 systems, refer to:
In the hope this can satisfy your expectations.
Philippe
- « Previous
-
- 1
- 2
- Next »