diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-30 20:10:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-30 20:10:25 +0000 |
commit | 03690d33e9fd5759adbee7cf9ba64f7f7c932740 (patch) | |
tree | 38ff7f6105ba977a4115fbb6374c939baa43c2e7 | |
parent | 75f4d74433a8ab462a3fde20dba92df7b4f94fa6 (diff) |
Narrow ci_flags to be able to print ci_mutex_level in the `machine ddbcpu'
output.
-rw-r--r-- | sys/arch/alpha/alpha/db_interface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/alpha/db_interface.c b/sys/arch/alpha/alpha/db_interface.c index 121a8865cc8..ec3ae92e9b8 100644 --- a/sys/arch/alpha/alpha/db_interface.c +++ b/sys/arch/alpha/alpha/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.18 2014/01/26 17:40:09 miod Exp $ */ +/* $OpenBSD: db_interface.c,v 1.19 2014/01/30 20:10:24 miod Exp $ */ /* $NetBSD: db_interface.c,v 1.8 1999/10/12 17:08:57 jdolecek Exp $ */ /* @@ -507,13 +507,13 @@ db_mach_cpu(db_expr_t addr, int have_addr, db_expr_t count, char *modif) CPU_INFO_ITERATOR cii; if (have_addr == 0) { - db_printf("addr dev id flags ipis " + db_printf("addr dev id flg mtx ipis " "curproc fpcurproc\n"); CPU_INFO_FOREACH(cii, ci) - db_printf("%p %-5s %02lu %08lx %04lx %p %p\n", + db_printf("%p %-5s %02lu %03lx %03d %04lx %p %p\n", ci, ci->ci_dev->dv_xname, ci->ci_cpuid, - ci->ci_flags, ci->ci_ipis, ci->ci_curproc, - ci->ci_fpcurproc); + ci->ci_flags, ci->ci_mutex_level, ci->ci_ipis, + ci->ci_curproc, ci->ci_fpcurproc); return; } |