From: Philippe Waroquiers Date: Tue, 29 Apr 2014 19:04:50 +0000 (+0000) Subject: Also give the indication on how to use vgdb when --vgdb-stop-at is given X-Git-Tag: svn/VALGRIND_3_10_0~517 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b8178288693b646a501dc43ea57432cafc58ffe;p=thirdparty%2Fvalgrind.git Also give the indication on how to use vgdb when --vgdb-stop-at is given git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13919 --- diff --git a/coregrind/m_gdbserver/remote-utils.c b/coregrind/m_gdbserver/remote-utils.c index 9de8d99b8e..1455ae695c 100644 --- a/coregrind/m_gdbserver/remote-utils.c +++ b/coregrind/m_gdbserver/remote-utils.c @@ -279,7 +279,8 @@ void remote_open (const HChar *name) pid); } if (VG_(clo_verbosity) > 1 - || VG_(clo_vgdb_error) < 999999999) { + || VG_(clo_vgdb_error) < 999999999 + || VG_(clo_vgdb_stop_at) != 0) { VG_(umsg)("\n"); VG_(umsg)( "TO DEBUG THIS PROCESS USING GDB: start GDB like this\n" diff --git a/gdbserver_tests/nlgone_exit.stderr.exp b/gdbserver_tests/nlgone_exit.stderr.exp index 625adc0997..ec9ce0d31c 100644 --- a/gdbserver_tests/nlgone_exit.stderr.exp +++ b/gdbserver_tests/nlgone_exit.stderr.exp @@ -1,6 +1,8 @@ Nulgrind, the minimal Valgrind tool (action at startup) vgdb me ... + + starting ... exiting ... (action at exit) vgdb me ...