I trying to follow the instruction on connecting to valgrind using gdb. Valgrind memcheck is starts properly and asks to connect using following gdb command:
target remote | vgdb --pid=53181
but when I run this command, I get an error
Remote communication error. Target disconnected.: Connection reset by peer
what is my mistake?