HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: read a core file
Operating System - HP-UX
1837097
Members
2105
Online
110112
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
Forums
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
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
01-23-2005 10:27 PM
01-23-2005 10:27 PM
read a core file
Hi guys
I´m trying to run an C application and this result a core file.
I tryed to read this core dump with "gdb" and nothing happenned;
How can I open this file, using "gdb" or another dump reader application ?
rgds
Marcia Ferreir
I´m trying to run an C application and this result a core file.
I tryed to read this core dump with "gdb" and nothing happenned;
How can I open this file, using "gdb" or another dump reader application ?
rgds
Marcia Ferreir
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:52 PM
01-23-2005 10:52 PM
Re: read a core file
Can you provide the syntax you used when invoking gdb? And any error messages it might have displayed?
Also, which compiler did you use on your C program? and what was the error message when it core dumped?
live free or die
harry d brown jr
Also, which compiler did you use on your C program? and what was the error message when it core dumped?
live free or die
harry d brown jr
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:54 PM
01-23-2005 10:54 PM
Re: read a core file
gdb will only be able to usefully debug the core file if the C application that generated it was built with debugging symbols. If the C application has been stripped, then you are not going to get a lot of sense out of gdb.
The usual method would be to start gdb
# gdb
then type in the command
(gdb) core-file core
this will load the core file
then you need to tell gdb where the C application is
(gdb) file foo
Where foo is the name of your C application. You may also need to tell gdb where any shared libraries can be located.
The usual method would be to start gdb
# gdb
then type in the command
(gdb) core-file core
this will load the core file
then you need to tell gdb where the C application is
(gdb) file foo
Where foo is the name of your C application. You may also need to tell gdb where any shared libraries can be located.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 11:03 PM
01-23-2005 11:03 PM
Re: read a core file
Hi Marcia,
Try to assign points to those who are helping you.
PS (PT): quantos mais pontos assignar, mais respostas receberá... :)
Eric Antun
Try to assign points to those who are helping you.
PS (PT): quantos mais pontos assignar, mais respostas receberá... :)
Eric Antun
Each and every day is a good day to learn.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP