Hi, I'm using valgrind on a two processor MPI run using shmem, and it seems to be working great. I want to attach the gdb debugger but when I try to do so, the underlying processes appear to be competing for stdin. It would be nice to attach the debugger to only one of the underlying processes, or better yet, to be able to pop up a new window for each debugger attached. The hard way to do this would involve using sockets, but I'm hoping there may be a quick way using a clean but limited hack.
How about writing a shell script that does 'exec xterm -e gdb "$@"' and then telling valgrind to use that script as the debugger?
--db-attach is deprecated as of release 3.10.