From af23b92f5f1bbc5965d552eb5e3a958668ee8e77 Mon Sep 17 00:00:00 2001 From: Jerome Forissier <jerome.forissier@linaro.org> Date: Thu, 31 Aug 2017 15:41:48 +0200 Subject: [PATCH] docs/debug.md: move 'Known issues' section The 'Known issues' section relates to QEMU, so make it a subsection under 'QEMU'. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> --- docs/debug.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/debug.md b/docs/debug.md index 974088a..f7fa9c0 100644 --- a/docs/debug.md +++ b/docs/debug.md @@ -9,8 +9,8 @@ 1. [ddd](#151-ddd) 1. [GNU Visual Debugger (gvd)](#152-gnu-visual-debugger-gvd) 1. [Affinic Debugger](#153-affinic-debugger) + 1. [Known issues](#16-known-issues) 2. [Ftrace](#2-ftrace) -3. [Known issues](#3-known-issues) In this document we would like to describe how to debug OP-TEE. Depending on the platform you are using you will have a couple of different options. @@ -133,6 +133,13 @@ Similarly to ddd, just simply run `optee` in the lower gdb command pane in gvd. free (at this moment it costs roughly $50 USD). If you can afford it and prefer graphical frontends we highly recommend this tool. +## 1.6 Known issues +1. Printing the call stack using `bt` makes gdb go into an endless loop. + Temporary workaround, in gdb, instead of simply writing `bt`, also mention + how many frames you would like to see, for example `bt 10`. +2. Cannot set breakpoints when the system is up and running. Workaround, set the + breakpoints before booting up the system. + # 2. Ftrace Ftrace is useful set of tools for debugging both kernel and to some extent user space. Ftrace is really useful if you want to learn how some piece of code @@ -287,13 +294,6 @@ graph-time. $ echo 0 > options/graph-time ``` -# 3. Known issues -1. Printing the call stack using `bt` makes gdb go into an endless loop. - Temporary workaround, in gdb, instead of simply writing `bt`, also mention - how many frames you would like to see, for example `bt 10`. -2. Cannot set breakpoints when the system is up and running. Workaround, set the - breakpoints before booting up the system. - [Affinic Debugger]: http://www.affinic.com/?page_id=109 [README.md]: ../README.md [QEMU ARMv7-A]: qemu.md#3-qemu-console -- GitLab