Statistics: Posted by Freeck — Mon Nov 16, 2015 5:03 pm
Code:
MacBook-Pro:wifirgbled joostn$ ./gdb.command
GNU gdb (crosstool-NG 1.20.0) 7.5.1
Copyright (C) 2012 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=x86_64-build_apple-darwin14.5.0 --target=xtensa-lx106-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /Users/joostn/GitProjects/ucprojects/projects/wifirgbled/build/app.elf...done.
Remote debugging using /dev/cu.wchusbserial1410
0x4010649b in gdbstub_do_break_breakpoint_addr ()
(gdb) hb main.cpp:535
Hardware assisted breakpoint 1 at 0x4023a5d1: file user/main.cpp, line 535.
(gdb) c
Continuing.
Breakpoint 1, jnuc::Application::Run (this=this@entry=0x3fff1618) at user/main.cpp:535
535 m_TimerInterrupt.Start(1);
(gdb) d
Delete all breakpoints? (y or n) y
(gdb) n
0x40000504 in ?? ()
(gdb) bt
#0 0x40000504 in ?? ()
#1 0x4023a994 in main () at user/main.cpp:42
(gdb)
Statistics: Posted by joostn — Wed Oct 21, 2015 3:31 pm
Statistics: Posted by Freeck — Tue Oct 20, 2015 9:43 pm
Statistics: Posted by joostn — Sun Oct 18, 2015 12:09 am
Code:
MacBook-Pro:wifirgbled joostn$ ../../esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb -x gdbcmds -b 115200
GNU gdb (crosstool-NG 1.20.0) 7.5.1
Copyright (C) 2012 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=x86_64-build_apple-darwin14.5.0 --target=xtensa-lx106-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
0x4010649b in gdbstub_do_break_breakpoint_addr ()
(gdb) hb main.cpp:535
Hardware assisted breakpoint 1 at 0x4023a5d1: file user/main.cpp, line 535.
(gdb) c
Continuing.
Breakpoint 1, jnuc::Application::Run (this=this@entry=0x3fff1608) at user/main.cpp:535
535 m_TimerInterrupt.Start(1);
(gdb) bt
#0 jnuc::Application::Run (this=this@entry=0x3fff1608) at user/main.cpp:535
#1 0x4023a994 in main () at user/main.cpp:42
(gdb) d 1
(gdb) hb main.cpp:536
Hardware assisted breakpoint 2 at 0x4023a5db: file user/main.cpp, line 536.
(gdb) c
Continuing.
Breakpoint 2, jnuc::Application::Run (this=this@entry=0x3fff1608) at user/main.cpp:536
536 m_FlashStorage.LoadData(&m_ConfigData);
(gdb) bt
#0 jnuc::Application::Run (this=this@entry=0x3fff1608) at user/main.cpp:536
#1 0x4023a994 in main () at user/main.cpp:42
(gdb) n
0x40000504 in ?? ()
(gdb) bt
#0 0x40000504 in ?? ()
#1 0x4023a5db in jnuc::Application::Run (this=0x3fffc230) at user/main.cpp:535
#2 0x40104d5c in gdbPacketEnd () at ../../esp8266/esp-gdbstub/gdbstub.c:184
#3 0x401053c5 in gdbHandleCommand (cmd=cmd@entry=0x3ffef808 <cmd> "m3ffef800,8",
len=len@entry=1) at ../../esp8266/esp-gdbstub/gdbstub.c:457
#4 0x40105492 in gdbReadCommand () at ../../esp8266/esp-gdbstub/gdbstub.c:509
#5 0x3ffea2d2 in info ()
warning:
Unrecognised function prologue. Stack trace cannot be resolved. This message will not be repeated in this session.
(gdb)
Code:
(gdb) hb main.cpp:535
Hardware assisted breakpoint 1 at 0x4023a5d1: file user/main.cpp, line 535.
(gdb) c
Continuing.
Breakpoint 1, jnuc::Application::Run (this=this@entry=0x3fff1608) at user/main.cpp:535
535 m_TimerInterrupt.Start(1);
(gdb) d
Delete all breakpoints? (y or n) y
(gdb) finish
Run till exit from #0 jnuc::Application::Run (this=this@entry=0x3fff1608)
at user/main.cpp:535
Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0x4023a994: Input/output error.
(gdb)
Statistics: Posted by joostn — Sat Oct 17, 2015 11:55 pm