- Don't force to be the GDB port since dcons(4) is in GENERIC now.
To enable the GDB port of dcons(4), you need to put dcons_gdb=1 in /boot/loader.conf.
This commit is contained in:
parent
e8aff09069
commit
40ca0d5755
@ -721,7 +721,11 @@ dcons_modevent(module_t mode, int type, void *data)
|
||||
static int
|
||||
dcons_dbg_probe(void)
|
||||
{
|
||||
return(DCONS_FORCE_GDB);
|
||||
int dcons_gdb;
|
||||
|
||||
if (getenv_int("dcons_gdb", &dcons_gdb) == 0)
|
||||
return (-1);
|
||||
return (dcons_gdb);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user