Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232790 - Add "gcore" GDB command info to the "meaningful backtraces" doc
Summary: Add "gcore" GDB command info to the "meaningful backtraces" doc
Status: RESOLVED OBSOLETE
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Quality Assurance Team
URL: http://www.gentoo.org/proj/en/qa/back...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 21:15 UTC by Jaak Ristioja
Modified: 2018-01-21 01:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2008-07-23 21:15:57 UTC
Please add information about the "gcore" a.k.a "generate-core-file" GDB command into the "How to get meaningful backtraces in Gentoo" document. This might prove valuable in cases where the user needs to restart or shut it down (e.g. services which need to be up and running) a crashed program which is being debugged. Generating core dumps via GDB is good alternative to system-wide core dump generation settings and allows the user to debug the program at a later time.

Command reference: http://sourceware.org/gdb/current/onlinedocs/gdb_9.html#SEC80
Comment 1 nm (RETIRED) gentoo-dev 2008-07-23 21:49:12 UTC
Documents in /proj/ belong to that project -- in this case, QA. Reassigning.
Comment 2 Jaak Ristioja 2013-01-03 20:32:46 UTC
Here's an updated link to the documentation of the "gcore" command:

http://sourceware.org/gdb/current/onlinedocs/gdb/Core-File-Generation.html
Comment 3 nm (RETIRED) gentoo-dev 2018-01-21 01:51:34 UTC
everything's on the wiki nowadays. the qa team has already listed their preferred method of getting core dumps, but you're welcome to edit the backtraces wiki page to add the gcore command:

[1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
[2] https://sourceware.org/gdb/onlinedocs/gdb/gcore-man.html