ovs-sandbox: Tell gdb to start the daemon.
authorRussell Bryant <rbryant@redhat.com>
Fri, 3 Apr 2015 20:04:14 +0000 (16:04 -0400)
committerBen Pfaff <blp@nicira.com>
Sun, 5 Apr 2015 19:15:22 +0000 (12:15 -0700)
commitfdc14c7b33338c78b27d277c864f47c8a37adb36
tree4a9c7f5888ab564a075e8ce2f0177fbc01686368
parent4207d631d4841ddc38abdc0f2aea3b9fcb5ddfdc
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@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tutorial/ovs-sandbox