ovs-sandbox: Add an option to allow running ovs-vswitchd under gdb
authorAndy Zhou <azhou@nicira.com>
Thu, 19 Feb 2015 01:17:33 +0000 (17:17 -0800)
committerAndy Zhou <azhou@nicira.com>
Thu, 19 Feb 2015 21:57:52 +0000 (13:57 -0800)
commit8da7cd8c8ff8a2915f42f72ff2be609856b0b52d
tree07d33a76478cc2a162a314085397aa31ad75311c
parentbcbb130f154cb017a5714ac97edcdef7b4032212
ovs-sandbox: Add an option to allow running ovs-vswitchd under gdb

It is some times useful to leverage the sandbox facility to experiment
and explore the internals of ovs-vswitchd.  Since GDB requires console
access for user inputs, this patch launch an xterm for GDB, The main
terminal continue to run the sub-shell as before. Exiting the sub-shell
will also kill the ovs-vswitchd under GDB (but not GDB itself currently)

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tutorial/Tutorial.md
tutorial/automake.mk
tutorial/ovs-sandbox