- 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:
Hidetoshi Shimokawa 2007-06-11 04:08:50 +00:00
parent e8aff09069
commit 40ca0d5755
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170537

View File

@ -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