3 ms·
"You almost always want to be able to attach gdb to any process when something goes wrong". Now, this is why we can't have secure systems. Somehow, I've never
by Animats 3y ago
"You almost always want to be able to attach gdb to any process when something goes wrong".
Now, this is why we can't have secure systems.
Somehow, I've never needed to attach GDB to a running process. Start up programs under GDB, yes. Read crash dumps, yes. If you're using a debugger in a production system, something has gone horribly wrong.
- troad 3y ago> If you're using a debugger in a production system, something has gone horribly wrong. That's right, hence the debugger.
- rwmj 3y agoOr you want to capture accurate core dumps for a tool like ABRT. We (Red Hat) work very closely with customers to find out what is and isn't acceptable to be running on their production systems, including customers who store very sensitive data.
- cozzyd 3y agoHow do you debug rare hangs?