- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to include #include .h files in the listing
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
тАО07-23-2008 04:35 AM
тАО07-23-2008 04:35 AM
I have got a problem with a C program and I would like to check a listing file to investigate where the program crashes exactly. I create a listing file with cc/lis filename. The listing file is generating but without the include files in the filename.c. Because the program crashes somewhere in an include file I need to include these #include filename.h files in the listing. How can I do that? Is there a suffix or something else? I know it from Fortran where it is possible with suffix /list or /nolist.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2008 04:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2008 04:52 AM
тАО07-23-2008 04:52 AM
Re: How to include #include .h files in the listing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2008 05:46 AM
тАО07-23-2008 05:46 AM
Re: How to include #include .h files in the listing
If you really want to look at an application crash (since the listings files don't really tell you what is going on at the instruction that crashed, and optimization plays havoc with the view of the source code), here's how:
http://64.223.189.234/node/800
I'm not a big fan of any sort of substantial source code in an include file, either. I prefer to use an editor that can fold code, or to use source routines sans headers, or to use object libraries or shareable images.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 09:04 PM
тАО07-25-2008 09:04 PM
Re: How to include #include .h files in the listing
If you were using C++, you better expect massive amounts of inline functions and templates in headers.