From 0b96b98294901442de8196e21fff7c5fd79750ef Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 12 Aug 2017 13:29:56 +0200 Subject: 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. --- doc/mach.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/mach.texi b/doc/mach.texi index b2357b81..913e8bbd 100644 --- a/doc/mach.texi +++ b/doc/mach.texi @@ -7155,6 +7155,11 @@ Task or thread structure address. @var{xx} and @var{yy} are task and thread identification numbers printed by a @code{show all threads} command respectively. This variable is read only. +@item map@var{xx} +VM map structure address. @var{xx} is a task identification number +printed by a @code{show all tasks} command. This variable is read +only. + @item thread The default target thread. The value is used when @code{t} option is specified without explicit thread structure address parameter in command -- cgit v1.2.3