From 5eef813a78f77faf8bc741eb7adc738877c7184b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 6 Nov 2022 15:27:04 +0100 Subject: doc: Add hints on using convenience variables in show commands --- doc/mach.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/mach.texi b/doc/mach.texi index fc74b384..4abafe1a 100644 --- a/doc/mach.texi +++ b/doc/mach.texi @@ -7122,10 +7122,16 @@ information about the individual threads. Display the information of a task specified by @var{addr}. If @var{addr} is omitted, current task information is displayed. +@code{show task $taskxx} can notably be used to show task number +@var{xx} + @item show thread [ @var{addr} ] Display the information of a thread specified by @var{addr}. If @var{addr} is omitted, current thread information is displayed. +@code{show thread $taskxx.yy} can notably be used to show thread +number @var{yy} of task number @var{xx}. + @item show registers[/tu [ @var{thread} ]] Display the register set. Target thread can be specified with @code{t} option and @var{thread} parameter. If @code{u} option is specified, it @@ -7137,6 +7143,9 @@ machine. If not supported, incorrect information will be displayed. @item show map @var{addr} Prints the @code{vm_map} at @var{addr}. +@code{show map $mapxx} can notably be used to show the map of task +number @var{xx}. + @item show object @var{addr} Prints the @code{vm_object} at @var{addr}. -- cgit v1.2.3