![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to view a core dump file | vikashtulsiyan | High Level Programming | 6 | 01-11-2008 01:15 PM |
| Core dump in HP-UX.. | gyanusoni | UNIX for Dummies Questions & Answers | 0 | 09-07-2007 03:29 AM |
| core dump file size | pushp.gahlot | UNIX for Dummies Questions & Answers | 4 | 08-06-2007 10:56 AM |
| core dump | hassan2 | UNIX for Dummies Questions & Answers | 4 | 05-07-2002 08:05 AM |
| help, what is the difference between core dump and panic dump? | aileen | UNIX for Dummies Questions & Answers | 1 | 06-11-2001 08:08 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to use a core dump file
Hi All,
May be it is a stupid question, but, I would like to know what is the advantage using a core dump file at the moment of debugging using gdb. I know a core dump has information about the state of the application when it crashed, but, what is the difference between debugging using the core dump file and use gdb without it. Thank you!! |
|
||||
|
You can backtrace the core file and not wait for ten minutes for the new run of the code to stackdump. You can find the exact line where the fault occurred.
If you are trying to locate an errant out-of-bounds write to a varaible, then use electric fence. IT is linked at run time. You can see the results either in gdb or from the output of a run. |
|
||||
|
I am sorry jim
Since I was making a test using only a main function I couldn't realize the advantages. Now, I've made a test using several function calls and I can see the difference of using a core dump file.
Thank you very much! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|