valgrind vgdb with gdb in emacs

view full story

http://stackoverflow.com – I'm trying to use valgrind vgdb with command: valgrind --vgdb-error=0 ./a.out [args]. when I run target remote | /usr/lib64/valgrind/../../bin/vgdb in emacs gdb I get Non-stop mode requested, but remote does not support non-stop error. The gdb command runed by emacs is: gdb -i=mi a.out. my versions of valgrind, gdb and emacs: valgrind-3.7.0, GNU gdb (GDB) SUSE (7.5.1-2.5.1) and GNU Emacs 24.2.1. Is there a way to resolve the problem or my versions of gdb, valgrind or emacs can't handle what I'm trying to do? (HowTos)