79242970

Date: 2024-12-02 04:47:03
Score: 1
Natty:
Report link

Is it possible to configure .gdbinit to automatically generate the core dump file?

Maybe: configure to generate the core dump when ?

if the program crashes is there a GDB session command to manually generate the core dump file?

(gdb) help gcore
generate-core-file, gcore
Save a core file with the current state of the debugged process.
Usage: generate-core-file [FILENAME]
Argument is optional filename.  Default filename is 'core.PROCESS_ID'.
Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is it
  • High reputation (-2):
Posted by: Employed Russian