debugging with FT2232H | gdbinit Error
Posted: Fri Mar 29, 2019 12:54 pm
hello friends,
I am using FT2232H board for debugging.
i followed the steps https://docs.espressif.com/projects/esp ... mmand-line
I am getting error gdbinit:1: Error in sourced command file:
Please see below.....
I am using FT2232H board for debugging.
i followed the steps https://docs.espressif.com/projects/esp ... mmand-line
When I execute xtensa-esp32-elf-gdb -x gdbinit build/blink.elf3.When launching a debugger, you will need to provide couple of configuration parameters and commands. Instead of entering them one by one in command line, create a configuration file and name it gdbinit:
target remote :3333
set remote hardware-watchpoint-limit 2
mon reset halt
flushregs
thb app_main
c
I am getting error gdbinit:1: Error in sourced command file:
Please see below.....
Code: Select all
$ xtensa-esp32-elf-gdb -x gdbinit build/blink.elf
GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 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/blink.elf...done.
gdbinit:1: Error in sourced command file:
Remote connection closed
(gdb)