Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bav@BAV60 MINGW32 /d/sdk_e/_soc/esp32/prj/e_monitor
- $ xtensa-esp32-elf-gdb -x gdbinit build/e_monitor.elf
- GNU gdb (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 7.10
- Copyright (C) 2015 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from build/e_monitor.elf...done.
- --------------------------------------------------
- sasha: ESP32-GDB run script gdbinit() E-MON
- --------------------------------------------------
- 0x00000000 in ?? ()
- JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
- JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
- esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
- esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
- Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000
- esp32: target state: halted
- esp32: Core was reset (pwrstat=0x1F, after clear 0x0F).
- Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400
- esp32: target state: halted
- Hardware assisted breakpoint 1 at 0x400f1ea4: file D:/sdk_e/_soc/esp32/prj/e_monitor/main/main.c, line 337.
- 0x0: 0x00000000
- Target halted. PRO_CPU: PC=0x400F1EA4 (active) APP_CPU: PC=0xF8001080
- [New Thread 1073436856]
- [New Thread 1073439532]
- [New Thread 1073408876]
- [Switching to Thread 1073413356]
- Temporary breakpoint 1, app_main ()
- at D:/sdk_e/_soc/esp32/prj/e_monitor/main/main.c:337
- 337 {
- (gdb) n
- Target halted. PRO_CPU: PC=0x400F1EA7 (active) APP_CPU: PC=0xF8001080
- 341 emon_wellcome_msg();
- (gdb) n
- Target halted. PRO_CPU: PC=0x400F1DCC (active) APP_CPU: PC=0xF8001080
- Target halted. PRO_CPU: PC=0x400F1EAA (active) APP_CPU: PC=0xF8001080
- 347 nvs_flash_init();
- (gdb) n
- Target halted. PRO_CPU: PC=0x400EE3CC (active) APP_CPU: PC=0xF8001080
- Target halted. PRO_CPU: PC=0x400F1EAD (active) APP_CPU: PC=0xF8001080
- 354 if (sys_mbox_new(&g_mbox, EMON_MBOX_SIZE) != ERR_OK) {
- (gdb) c
- Continuing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement