Hi John, Valgrind 3.11.0 Ubuntu 13.04 Intel i7 -4700HQ (Haswell) gdb version 7.5.91.20130417-cvs-ubuntu
I didn't really understand your question, then I don't know how to answer you. Sorry. About gdb commands: when do I have to try them? After the "target remote" one? Thanks, Marco ________________________________________ Da: John Reiser <[email protected]> Inviato: mercoledì 28 ottobre 2015 16.28 A: [email protected] Oggetto: Re: [Valgrind-users] valgrind and gdb > gdb ./real > target remote | /usr/local/lib/valgrind/../../bin/vgdb --pid=23498 > continue > After few seconds gdb says > > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x0000000006018417 in __libc_writev (fd=9, vector=0x6af6710, count=3) at > ../sysdeps/unix/sysv/linux/writev.c:50 > 50 ../sysdeps/unix/sysv/linux/writev.c: File o directory non esistente. > > where "non esistente" means "doesn't exist" Please tell us the environment: which version of valgrind, which Linux distribution and version, which hardware architecture, which version of gdb. Then, what is the instruction stream near the address 0x0000000006018417 ? Try these gdb commands: x/i $pc x/15i $pc - 0x20 ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
