[ovs-git] [openvswitch/ovs] fdc14c: ovs-sandbox: Tell gdb to start the daemon.
GitHub
noreply at github.com
Sun Apr 5 19:13:54 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: fdc14c7b33338c78b27d277c864f47c8a37adb36
https://github.com/openvswitch/ovs/commit/fdc14c7b33338c78b27d277c864f47c8a37adb36
Author: Russell Bryant <rbryant at redhat.com>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
M tutorial/ovs-sandbox
Log Message:
-----------
ovs-sandbox: Tell gdb to start the daemon.
The current gdb support launches gdb but doesn't start the daemon.
If you start ovsdb-server with gdb, ovs-sandbox produces an error as
it tries to run ovs-vsctl before ovsdb-server is running. Telling gdb
to start the daemon immediately avoids this error.
There are cases where it's useful to go straight to the gdb prompt,
too. For example, someone may want to set a breakpoint. In that
case, it's easy enough to just kill it, set a breakpoint, and execute
'run' again.
In passing, fix indentation to use spaces instead of tabs.
Signed-off-by: Russell Bryant <rbryant at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list