Generating core files from gdb
While debugging a problem a few weeks back, I needed to generate a core file from a hung process. I typically use the gcore utility to generate core files from running processes, but in this case I was already attached to the process with gdb, so gcore failed: $ gcore 2575 ptrace: Operation not permitted. [...]







