/hal_espressif-3.6.0/examples/system/gdbstub/ |
D | README.md | 3 …ample shows how to use gdbstub and it's functionality at runtime to debug an application with GDB. 4 With the gdbstub component it is possible to run GDB from IDF Monitor by pressing Ctrl+C and debug 5 the application using GDB. It is also possible to read/modify memory values, interrupt and continue… 6 Upon exit from GDB, the application will continue to work in IDF Monitor as before. 12 There are two possible ways to execute gdbstub with GDB: from IDF Monitor and as standalone applica… 26 -> Component Config -> GDB Stub -> ... 43 In addition, it is also possible to run GDB and connect to the Esp32 directly, without IDF Monitor. 47 This will execute GDB and GDB will connect to your Esp32 by serial port COM10 with baudrate 115200. 51 The example demonstrates how to switch to GDB, watch values, change values, continue to run, and ex… 52 To switch to GDB, the user presses Ctrl+C. This will stop the application and run the GDB. [all …]
|
D | sdkconfig.defaults | 2 # GDB Stub 7 # end of GDB Stub
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/jtag-debugging/ |
D | tips-and-quirks.rst | 12 …GDB 无法在闪存中设置软件断点,因此除非解决此限制,否则这些断点只能由 OpenOCD 模拟为硬件断点。(详细信息可以参阅 :ref:`下面 <jtag-debugging-tip-where-… 20 …是当使用 GDB 命令 ``hb myFunction`` 给某个函数设置硬件断点时,如果该函数位于闪存中,并且此时还有可用的硬件断点,那调试器就会使用硬件断点,否则就使用 32 个软件闪存断点中… 36 由于 GDB 在连接 OpenOCD 时仅仅请求一次内存映射,所以可以在 TCL 配置文件中指定该命令,或者通过命令行传递给 OpenOCD。对于后者,命令行示例如下: 44 另外还可以通过 OpenOCD 的 telnet 会话执行该命令,然后再连接 GDB, 不过这种方式似乎没有那么便捷。 51 当使用 ``next`` 命令单步执行代码时, GDB 会在子程序的前面设置一个断点(两个中可用的一个),这样就可以跳过进入子程序内部的细节。如果这两个断点已经用在代码的其它位置,那么 ``next… 72 OpenOCD 完全支持 ESP-IDF 自带的 FreeRTOS 操作系统,GDB 会将 FreeRTOS 中的任务当做线程。使用 GDB 命令 ``i threads`` 可以查看所有的线程,使… 111 * ``set remote hardware-watchpoint-limit 2`` — 限制 GDB 仅使用 {IDF_TARGET_NAME} 支持的两个硬件观察点。更多详细信息,请查阅 `… 113 …— monitor (``mon``) 命令无法通知 GDB 目标状态已经更改,GDB 会假设在 ``mon reset halt`` 之前所有的任务堆栈仍然有效。实际上,复位后目标状态将发生变化… 173 …- 设置成 ``none`` 可以关闭 OpenOCD 对 RTOS 的支持,这样的话,你将无法在 GDB 中查看到线程列表。这个功能在调试 FreeRTOS 本身的时候会很有用,可以单步调试调度… 188 通过在 GDB 中输入 ``mon reset`` 或者 ``mon reset halt`` 来复位板子。 [all …]
|
D | using-debugger.rst | 21 标准的 Eclipse 安装流程默认安装调试功能,另外您还可以使用插件来调试,比如 “GDB Hardware Debugging”。这个插件用起来非常方便,本指南会详细介绍该插件的使用方法。 23 首先,打开 Eclipse 并转到 “Help” > “Install New Software” 来安装 “GDB Hardware Debugging” 插件。 27 … 中,进入 `Run` > `Debug Configuration`,会出现一个新的窗口。在窗口的左侧窗格中,双击 “GDB Hardware Debugging”(或者选择 “GDB Hard… 41 :alt: Configuration of GDB Hardware Debugging - Main tab 44 GDB 硬件调试的配置 - Main 选项卡 46 6. 点击 “Debugger” 选项卡,在 “GDB Command” 栏中输入 ``{IDF_TARGET_TOOLCHAIN_PREFIX}-gdb`` 来调用调试器。 54 :alt: Configuration of GDB Hardware Debugging - Debugger tab 57 GDB 硬件调试的配置 - Debugger 选项卡 85 :alt: Configuration of GDB Hardware Debugging - Startup tab 88 GDB 硬件调试的配置 - Startup 选项卡 [all …]
|
D | index.rst | 5 本文将介绍如何安装 {IDF_TARGET_NAME} 的 OpenOCD 调试环境,以及如何使用 GDB 来调试 {IDF_TARGET_NAME} 的应用程序。本文结构如下: 10 …介绍 {IDF_TARGET_NAME}、JTAG(Joint Test Action Group)接口、OpenOCD 和 GDB 如何相互连接,从而实现 {IDF_TARGET_NAME} 的… 18 …g-using-debugger-eclipse>` 和 :ref:`命令行终端 <jtag-debugging-using-debugger-command-line>` 启动 GDB 调试会话。 20 …如果您不熟悉 GDB,请查看此小节以获取 :ref:`Eclipse 集成开发环境 <jtag-debugging-examples-eclipse>` 以及 :ref:`命令行终端 <jtag-… 24 介绍使用 OpenOCD 和 GDB 通过 JTAG 接口调试 {IDF_TARGET_NAME} 时的注意事项和补充内容。 45 本文将介绍如何在 Linux、Windows 和 macOS 环境下为 {IDF_TARGET_NAME} 安装 OpenOCD,并使用 GDB 进行软件调试。除部分安装流程有所不同外,所有操作系统… 226 …器(简称 GDB),它和其它工具链软件共同存放于 {IDF_TARGET_TOOLCHAIN_PREFIX}-gdb 中。除了直接在命令行终端中调用并操作 GDB 外,也可以在 IDE (例如 E… 241 本节适用于不熟悉 GDB 的用户,下文将使用 :example:`get-started/blink` 下简单的应用程序来演示 :ref:`调试会话的工作流程 <jtag-debugging-exa… 251 此外还会提供在 :ref:`在命令行终端进行调试 <jtag-debugging-examples-command-line>` 下使用 GDB 调试的案例。
|
D | debugging-examples.rst | 5 …g-debugging-examples-eclipse>` 和 :ref:`命令行 <jtag-debugging-examples-command-line>` 中使用 GDB 进行调试的示例。 643 只需输入 ``help`` 命令,即可获得高级命令列表,帮助你了解更多详细信息。此外,还可以参考一些 GDB 命令速查表,比如 https://darkdust.net/files/GDB%20Ch…
|
/hal_espressif-3.6.0/components/esp_gdbstub/ |
D | Kconfig | 1 menu "GDB Stub" 10 bool "Enable listing FreeRTOS tasks through GDB Stub" 14 If enabled, GDBStub can supply the list of FreeRTOS tasks to GDB. 15 Thread list can be queried from GDB using 'info threads' command. 16 Note that if GDB task lists were corrupted, this feature may not work. 20 int "Maximum number of tasks supported by GDB Stub" 24 Set the number of tasks which GDB Stub will support.
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/ |
D | fatal-errors.rst | 61 - 调用 GDB Stub(``CONFIG_ESP_SYSTEM_PANIC_GDBSTUB``) 63 启动 GDB 服务器,通过控制台 UART 接口与 GDB 进行通信。详细信息请参阅 :ref:`GDB-Stub`。 67 …} 是否已经连接 JTAG 调试器。如果检测成功,程序会暂停运行,并将控制权交给调试器。在这种情况下,寄存器和回溯不会被打印到控制台,并且也不会使用 GDB Stub 和 Core Dump 的功… 71 …况下禁用),紧急处理程序的代码会放置在 Flash 而不是 IRAM 中。这意味着,如果 ESP-IDF 在 Flash 高速缓存禁用时崩溃,在运行 GDB Stub 和内核转储之前紧急处理程序会… 97 check_gdbstub [label = "GDB Stub\n使能?", shape=diamond, height=80]; 98 do_gdbstub [label = "启动 GDB Stub", shape=roundedbox]; 244 GDB Stub 247 …TEM_PANIC_GDBSTUB`` 选项,在发生严重错误时,紧急处理程序不会复位芯片,相反,它将启动 GDB 远程协议服务器,通常称为 GDB Stub。发生这种情况时,可以让主机上运行的 G… 249 如果使用了 :doc:`IDF 监视器 <tools/idf-monitor>`,该工具会在 UART 端口检测到 GDB Stub 提示符后自动启动 GDB,输出会类似于:: 258 …This GDB was configured as "--host=x86_64-build_apple-darwin16.3.0 --target={IDF_TARGET_TOOLCHAIN_… [all …]
|
D | app_trace.rst | 509 …lnet 会话来向 OpenOCD 发出这些命令(运行 ``telnet localhost 4444``)。GDB 也可以代替 telnet 来向 OpenOCD 发出命令,但是所有从 GDB … 532 GDB 可以用来在 :cpp:func:`esp_gcov_dump` 上设置一个断点,然后通过使用 ``gdbinit`` 脚本自动调用 ``mon esp gcov dump`` (关于 GDB… 534 以下 GDB 脚本将在 :cpp:func:`esp_gcov_dump` 处添加一个断点,然后调用 ``mon esp gcov dump`` OpenOCD 命令。 545 注意所有的 OpenOCD 命令都应该在 GDB 中以 ``mon <oocd_command>`` 方式调用。
|
/hal_espressif-3.6.0/docs/en/api-guides/jtag-debugging/ |
D | using-debugger.rst | 21 … in standard Eclipse installation. Another option is to use pluggins like "GDB Hardware Debugging"… 23 To begin with, install "GDB Hardware Debugging" plugin by opening Eclipse and going to `Help` > `In… 27 …indow will open. In the window's left pane double click "GDB Hardware Debugging" (or select "GDB H… 41 :alt: Configuration of GDB Hardware Debugging - Main tab 44 Configuration of GDB Hardware Debugging - Main tab 46 6. Click "Debugger" tab. In field "GDB Command" enter ``{IDF_TARGET_TOOLCHAIN_PREFIX}-gdb`` to inv… 54 :alt: Configuration of GDB Hardware Debugging - Debugger tab 57 Configuration of GDB Hardware Debugging - Debugger tab 85 :alt: Configuration of GDB Hardware Debugging - Startup tab 88 Configuration of GDB Hardware Debugging - Startup tab [all …]
|
D | tips-and-quirks.rst | 12 …GDB can not set software breakpoints in flash. So until this limitation is removed those breakpoin… 20 …GDB command ``hb myFunction`` which is invoked for function in flash will use pure hardware breakp… 36 …Since GDB requests memory map from OpenOCD only once when connecting to it, this command should be… 44 …Another option is to execute that command via OpenOCD telnet session and then connect GDB, but it … 51 When stepping through the code with ``next`` command, GDB is internally setting a breakpoint (one o… 72 …t support for the ESP-IDF FreeRTOS. GDB can see FreeRTOS tasks as threads. Viewing them all can be… 111 * ``set remote hardware-watchpoint-limit 2`` — Restrict GDB to using two hardware watchpoints suppo… 113 …GDB that the target state has changed. GDB will assume that whatever stack the target had before `… 173 …o disable RTOS support. In this case, thread list will not be available in GDB. Can be useful when… 188 The board can be reset by entering ``mon reset`` or ``mon reset halt`` into GDB. [all …]
|
D | index.rst | 5 This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB.… 10 …Description how {IDF_TARGET_NAME}, JTAG interface, OpenOCD and GDB are interconnected and working … 18 …Steps to start up a debug session with GDB from :ref:`jtag-debugging-using-debugger-eclipse` and f… 20 …If you are not familiar with GDB, check this section for debugging examples provided from :ref:`jt… 24 … collection of tips and quirks related to JTAG debugging of {IDF_TARGET_NAME} with OpenOCD and GDB. 45 This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB … 224 … GNU Debugger, in short GDB. It is available with other toolchain programs under filename: {IDF_TA… 239 This section is intended for users not familiar with GDB. It presents example debugging session fro… 249 Similar debugging actions are provided using GDB from :ref:`jtag-debugging-examples-command-line`.
|
/hal_espressif-3.6.0/components/xtensa/trax/test/ |
D | Makefile | 7 GDB ?= $(PREFIX)gdb macro 32 $(GDB) -n --batch -x gdbinit | tee $(GDB_LOG)
|
D | README.txt | 5 - Add ESP32 toolchain to PATH, and check that GDB has been built with Python support
|
/hal_espressif-3.6.0/docs/en/api-guides/ |
D | fatal-errors.rst | 64 - Invoke GDB Stub (``CONFIG_ESP_SYSTEM_PANIC_GDBSTUB``) 66 … GDB server which can communicate with GDB over console UART port. This option will only provide r… 68 - Invoke dynamic GDB Stub (``ESP_SYSTEM_GDBSTUB_RUNTIME``) 70 …GDB server which can communicate with GDB over console UART port. This option allows the user to d… 78 … the panic handler will automatically re-enable flash cache before running GDB Stub or Core Dump. … 104 check_gdbstub [label = "GDB Stub\nenabled?", shape=diamond, height=80]; 105 do_gdbstub [label = "Start GDB Stub", shape=roundedbox]; 251 GDB Stub 254 …appens. Instead, it will start a GDB remote protocol server, commonly referred to as GDB Stub. Whe… 256 If :doc:`IDF Monitor <tools/idf-monitor>` is used, GDB is started automatically when a GDB Stub pro… [all …]
|
D | core_dump.rst | 17 * ``dbg_corefile`` - creates core dump ELF file and runs GDB debug session with this file. User can… 117 Since ROM is not part of the program ELF it will be impossible for GDB to parse such callstacks, be… 125 Core dump supports retrieving variable data over GDB by attributing special notations declared vari… 155 5. Run the command below to start core dumping in GDB, where ``PORT`` is the device USB port: 161 6. In GDB shell, type ``p global_var`` to get the variable content: 187 **dbg_corefile** Starts GDB debugging session with specified corefile 196 --gdb GDB, -g GDB Path to gdb
|
D | app_trace.rst | 509 …lhost 4444``). Note that GDB could be used instead of telnet to issue commands to OpenOCD, however… 532 GDB can be used to set a breakpoint on :cpp:func:`esp_gcov_dump`, then call ``mon esp gcov dump`` a… 534 The following GDB script is will add a breakpoint at :cpp:func:`esp_gcov_dump`, then call the ``mon… 545 Note that all OpenOCD commands should be invoked in GDB as: ``mon <oocd_command>``.
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/tools/ |
D | idf-monitor.rst | 190 配置 GDBStub 以启用 GDB 201 …程序突然中断 (Ctrl+C),只要 IDF 监视器监控到 GDBStub 已经加载,panic 处理器就会自动暂停串行监控并使用必要的参数运行 GDB。GDB 退出后,通过 RTS 串口线复位开… 273 - 由于 Windows 控制台限制,有些箭头键及其他一些特殊键无法在 GDB 中使用。 275 - GDB 运行时,可能会暂停一段时间,然后才开始与 GDBStub 进行通信。
|
/hal_espressif-3.6.0/tools/test_apps/system/gdb_loadable_elf/ |
D | README.md | 3 This project tests if the application can be loaded with GDB.
|
/hal_espressif-3.6.0/examples/system/sysview_tracing_heap_log/ |
D | README.md | 20 …GDB](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#setup-toolchain)… 41 1. Run GDB using the following command from the project root directory: 47 2. When program stops at `heap_trace_stop` quit GDB.
|
/hal_espressif-3.6.0/examples/system/sysview_tracing/ |
D | README.md | 107 5. It is useful to use GDB to start and/or stop tracing automatically. To do this you need to prep… 122 …Using this file GDB will connect to the target, reset it, and start tracing when it hit breakpoint… 124 6. Run GDB using the following command from the project root directory: 132 …ts execution (e.g. by pressing `CTRL+C`) and type the following command in GDB console to stop tra…
|
/hal_espressif-3.6.0/tools/docker/ |
D | Dockerfile | 5 # We need libpython2.7 due to GDB tools
|
/hal_espressif-3.6.0/docs/en/api-guides/tools/ |
D | idf-monitor.rst | 190 Launching GDB with GDBStub 201 …aded, it automatically pauses serial monitoring and runs GDB with necessary arguments. After GDB e… 273 - Arrow keys, as well as some other keys, do not work in GDB due to Windows Console limitations.
|
/hal_espressif-3.6.0/tools/test_idf_monitor/tests/ |
D | core1_out.txt | 43 Crashed task handle: 0x3ffb5e80, name: 'main', GDB name: 'process 1073438336'
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | heap_debug.rst | 315 3. You can use GDB to start and/or stop tracing automatically. To do this you need to prepare speci… 335 Using this file GDB will connect to the target, reset it, and start tracing when program hits break… 337 4. Run GDB using the following command ``{IDF_TARGET_TOOLCHAIN_PREFIX}-gdb -x gdbinit </path/to/pro… 339 5. Quit GDB when program stops at :cpp:func:`heap_trace_stop`. Trace data are saved in ``/tmp/heap.…
|