mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
ovs-sandbox: add '-r' and '-e' options
'-e' option will run ovs-vswitchd under gdb, but runs immediately instead of waiting for user input. '-r' options applies to ovsdb-server. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
@@ -118,6 +118,11 @@ This option can be handy for setting break points before ovs-vswitchd runs,
|
||||
or for catching early segfaults. Similarly, a '-d' option can be used to
|
||||
run ovsdb-server under GDB. Both options can be specified at the same time.
|
||||
|
||||
In addition, a '-e' option also launches ovs-vswitchd under GDB. However,
|
||||
instead of displaying a 'gdb>' prompt and waiting for user input, ovs-vswitchd
|
||||
will start to execute immediately. '-r' option is the corresponding option
|
||||
for running ovsdb-server under gdb with immediate execution.
|
||||
|
||||
To avoid GDB mangling with the sandbox sub shell terminal, 'ovs-sandbox'
|
||||
starts a new xterm to run each GDB session. For systems that do not support
|
||||
X windows, GDB support is effectively disabled.
|
||||
|
Reference in New Issue
Block a user