Guten Morgen Christian,
danke für die Informationen. Ich habe die Datei gdpini angelegt.
Die gdpini Datei befindet sich im Ordner C:\Entwicklung\Esp32\Test\blink
1 | target remote :3333
|
2 | set remote hardware-watchpoint-limit 2
|
3 | mon reset halt
|
4 | maintenance flush register-cache
|
5 | thb app_main
|
6 | c
|
1 | xtensa-esp32-elf-gdb -x gdbinit build/blink.elf
|
Trotzdem funktioniert der Debugger nicht.
1 | C:\Entwicklung\Esp32\Test\blink>xtensa-esp32-elf-gdb -x gdbinit build/blink.elf
|
2 | GNU gdb (esp-gdb) 14.2_20240403
|
3 | Copyright (C) 2023 Free Software Foundation, Inc.
|
4 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
5 | This is free software: you are free to change and redistribute it.
|
6 | There is NO WARRANTY, to the extent permitted by law.
|
7 | Type "show copying" and "show warranty" for details.
|
8 | This GDB was configured as "--host=x86_64-w64-mingw32 --target=xtensa-esp-elf".
|
9 | Type "show configuration" for configuration details.
|
10 | For bug reporting instructions, please see:
|
11 | <https://www.gnu.org/software/gdb/bugs/>.
|
12 | Find the GDB manual and other documentation resources online at:
|
13 | <http://www.gnu.org/software/gdb/documentation/>.
|
14 |
|
15 | For help, type "help".
|
16 | Type "apropos word" to search for commands related to "word"...
|
17 | Reading symbols from build/blink.elf...
|
18 |
|
19 | warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.
|
20 | This normally should not happen, please file a bug report.
|
21 | gdbinit: No such file or directory.
|
22 | (gdb)
|