]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Also give the indication on how to use vgdb when --vgdb-stop-at is given
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 29 Apr 2014 19:04:50 +0000 (19:04 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 29 Apr 2014 19:04:50 +0000 (19:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13919

coregrind/m_gdbserver/remote-utils.c
gdbserver_tests/nlgone_exit.stderr.exp

index 9de8d99b8e3aab1926a8cb1d9ce5f1b126ec83f0..1455ae695c2b809efbd5b2879dbd4696c01982c0 100644 (file)
@@ -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"
index 625adc0997e19f35e61563d005bcfb9b8dc2c147..ec9ce0d31ca7d3b28f5b6c4927dd1e6e2e4ac528 100644 (file)
@@ -1,6 +1,8 @@
 Nulgrind, the minimal Valgrind tool
 
 (action at startup) vgdb me ... 
+
+
 starting ...
 exiting ...
 (action at exit) vgdb me ...