diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-03-06 07:05:19 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-03-07 01:08:19 +0100 |
commit | f34f362ad7e01a769e154cc4053b6c9b9f07998f (patch) | |
tree | 29532c1f49cdea7016f3041aa1d66a38bf2d8e7d /ddb | |
parent | 2b4486d281efc9ee70c3e23a416b6ca5c43ba6ca (diff) | |
download | gnumach-f34f362ad7e01a769e154cc4053b6c9b9f07998f.tar.gz gnumach-f34f362ad7e01a769e154cc4053b6c9b9f07998f.tar.bz2 gnumach-f34f362ad7e01a769e154cc4053b6c9b9f07998f.zip |
kern: Fix MACH_LOCK_MON lock monitoring debug
TESTED:
- by setting MACH_LOCK_MON to 1 in configfrag.ac
and running "show all slocks" in kdb
- does not break default configured kernel
Message-Id: <20230306070512.292715-1-damien@zamaudio.com>
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_sym.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ddb/db_sym.h b/ddb/db_sym.h index 20450f64..f4fb5284 100644 --- a/ddb/db_sym.h +++ b/ddb/db_sym.h @@ -116,6 +116,10 @@ extern void db_symbol_values( db_symtab_t *stab, char** namep, db_expr_t* valuep); +/* find symbol in current task */ +#define db_search_symbol(val,strgy,offp) \ + db_search_task_symbol(val,strgy,offp,0) + /* find name&value given approx val */ #define db_find_sym_and_offset(val,namep,offp) \ @@ -157,10 +161,6 @@ extern void db_symbol_values( db_symtab_t *stab, db_free_symbol(s); \ } while(0); -/* find symbol in current task */ -#define db_search_symbol(val,strgy,offp) \ - db_search_task_symbol(val,strgy,offp,0) - /* strcmp, modulo leading char */ extern boolean_t db_eqname( const char* src, const char* dst, char c ); |