troubleshoot.rst: replace --command-template with --gdb and --valgrind

This commit is contained in:
Alexander Krotov
2019-03-21 11:22:53 +03:00
parent 269d982c7b
commit d7a144bcf8

View File

@@ -35,7 +35,7 @@ closely, try running it under the `gdb debugger
.. sourcecode:: bash
$ ./waf --run tcp-point-to-point --command-template="gdb %s"
$ ./waf --run tcp-point-to-point --gdb
Entering directory '/home/tomh/ns-3-nsc/build'
Compilation finished successfully
GNU gdb Red Hat Linux (6.3.0.0-1.134.fc5rh)
@@ -84,4 +84,4 @@ Sometimes you may need to use the `valgrind memory checker
<http://valgrind.org>`_ for more subtle errors. Again, you invoke the use of
valgrind similarly::
$ ./waf --run tcp-point-to-point --command-template="valgrind %s"
$ ./waf --run tcp-point-to-point --valgrind