aboutsummaryrefslogtreecommitdiff
path: root/ddb/db_task_thread.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-12 13:29:56 +0200
committerJustus Winter <justus@gnupg.org>2017-08-12 13:29:56 +0200
commit0b96b98294901442de8196e21fff7c5fd79750ef (patch)
tree984ca7c720f9f22eb24e94452f3bed1a37935c85 /ddb/db_task_thread.h
parent2996a4cfe987e6feb7c705354908ae2e59366d65 (diff)
downloadgnumach-0b96b98294901442de8196e21fff7c5fd79750ef.tar.gz
gnumach-0b96b98294901442de8196e21fff7c5fd79750ef.tar.bz2
gnumach-0b96b98294901442de8196e21fff7c5fd79750ef.zip
ddb: Add magic variable $mapXX.
Maps '$mapXX' to a VM map structure address. @var{xx} is a task identification number printed by a @code{show all tasks} command. * ddb/db_task_thread.c (db_get_map): New function. * ddb/db_task_thread.h (db_get_map): New declaration. * ddb/db_variables.c (db_vars): Add new variable. * doc/mach.texi: Document this.
Diffstat (limited to 'ddb/db_task_thread.h')
-rw-r--r--ddb/db_task_thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ddb/db_task_thread.h b/ddb/db_task_thread.h
index cbb36802..55ab4f53 100644
--- a/ddb/db_task_thread.h
+++ b/ddb/db_task_thread.h
@@ -64,4 +64,10 @@ db_get_task_thread(
int flag,
db_var_aux_param_t ap);
+extern void
+db_get_map(struct db_variable *vp,
+ db_expr_t *valuep,
+ int flag,
+ db_var_aux_param_t ap);
+
#endif /* _DDB_DB_TASK_THREAD_H_ */