mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Allow the paravirtualized debug port to override others.
Obtained from: NetApp
This commit is contained in:
parent
70d8f36aa4
commit
f9f4638d7a
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue