summaryrefslogtreecommitdiff
path: root/microkernel
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-02-24 19:19:21 +0100
committerThomas Schwinge <thomas@codesourcery.com>2016-02-24 19:19:21 +0100
commit07cd74da368b1baca286cedf6d743a48792d15f5 (patch)
tree27162d59cd32f53493977b6fe7a50420de0eb5cf /microkernel
parente21fadaf306d17c53055153bd1fe3797886eeb26 (diff)
parente164cc3bc34b10fb415d146dcc1db3abe12fb1d2 (diff)
Merge commit 'e21fadaf306d17c53055153bd1fe3797886eeb26'; commit 'e164cc3bc34b10fb415d146dcc1db3abe12fb1d2' into HEAD
Diffstat (limited to 'microkernel')
-rw-r--r--microkernel/mach/gnumach/debugging.mdwn10
1 files changed, 7 insertions, 3 deletions
diff --git a/microkernel/mach/gnumach/debugging.mdwn b/microkernel/mach/gnumach/debugging.mdwn
index c14f6111..164c4349 100644
--- a/microkernel/mach/gnumach/debugging.mdwn
+++ b/microkernel/mach/gnumach/debugging.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2007, 2008, 2009, 2011, 2012, 2013, 2014 Free
-Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2009, 2011, 2012, 2013, 2014, 2016
+Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -45,11 +45,15 @@ Run the addr2line tool on the return addresses:
This will print the source code lines of the backtrace.
+To get the userland backtrace of the thread, you can use
+
+ trace/u
+
To examine the backtrace of some given thread, use
show all thread/u
-to get the whole listing of all tasks and threads. You can then use trace/t to trace a specific thread.
+to get the whole listing of all tasks and threads. You can then use trace/t or trace/tu to trace a specific thread.
Unfortunately, userland and kernelland use the same range of addresses, so one can not get userland traces easily. The Xen port uses different ranges, and in that case one can use trace/u to also get the userland trace.