Running pstack on a process sometimes causes gdb to attach to that process on one of my Linux servers. Why would pstack launch gdb, and how can I prevent that?
- gdb is running as:
/user/bin/gdb --quiet -nx /proc/1234/exe 1234
- the parent process of gdb is:
/bin/sh /user/bin/pstack 1234