Better handling of OpenOCD command invocation result/context.