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'.