- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pro*C - How to include -g option for dbx to be...
Operating System - HP-UX
1753676
Members
5400
Online
108799
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
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
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
05-02-2011 11:25 PM
05-02-2011 11:25 PM
Pro*C - How to include -g option for dbx to be used
Hi,
I need one urgent help. I have got one executable binary file which is causing Segmentation Error. From sources, I came to know that I need to include -g option to the compiler(demo_proc.mk) so that the 'dbx' debugger can analyse the coredump and find the line causing segmentation error.I am new to Pro*C however, one of the Pro*c resources in our team have added -g option to this, but still it doesn't seem to work. So, could anyone please confirm whether in this attached demo_proc.mk file -g option has been included correctly or something else needs to be done!
I need one urgent help. I have got one executable binary file which is causing Segmentation Error. From sources, I came to know that I need to include -g option to the compiler(demo_proc.mk) so that the 'dbx' debugger can analyse the coredump and find the line causing segmentation error.I am new to Pro*C however, one of the Pro*c resources in our team have added -g option to this, but still it doesn't seem to work. So, could anyone please confirm whether in this attached demo_proc.mk file -g option has been included correctly or something else needs to be done!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2011 11:47 PM
05-06-2011 11:47 PM
Re: Pro*C - How to include -g option for dbx to be used
I see the -g added, though you need a space:
CFLAGS_NEW=-g $(CFLAGS)
CFLAGS64=-q64 $(CFLAGS_NEW)
You won't be able to use dbx, only gdb on HP-UX.
After you have fixed up your makefile, you need to clean and rebuild.
CFLAGS_NEW=-g $(CFLAGS)
CFLAGS64=-q64 $(CFLAGS_NEW)
You won't be able to use dbx, only gdb on HP-UX.
After you have fixed up your makefile, you need to clean and rebuild.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP