diff options
Diffstat (limited to 'sys/dev/bvm/bvm_dbg.c')
-rw-r--r-- | sys/dev/bvm/bvm_dbg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/bvm/bvm_dbg.c b/sys/dev/bvm/bvm_dbg.c index 67f533e..6ae9357 100644 --- a/sys/dev/bvm/bvm_dbg.c +++ b/sys/dev/bvm/bvm_dbg.c @@ -62,7 +62,11 @@ bvm_dbg_probe(void) if (resource_int_value("bvmdbg", 0, "port", &port) == 0) bvm_dbg_port = port; - return (0); + /* + * Return a higher priority than 0 to override other + * gdb dbgport providers that may be present (e.g. uart) + */ + return (1); } static void |