fix: Replace deprecated flushregs alias with full gdb command

Usage of `flushregs` in gdb will result in the following warning:

```
Warning: 'flushregs', an alias for the command 'maintenance flush register-cache', is deprecated.
Use 'maintenance flush register-cache'.
```

This patch updates to use the recommend command.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/11535
This commit is contained in:
Daniel Mangum
2023-05-29 17:43:21 -04:00
committed by Ivan Grokhotkov
parent 8019d6dbe3
commit 647e7a2a71
12 changed files with 14 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ GDBINIT_CONNECT = '''
# Connect to the default openocd-esp port and break on app_main()
target remote :3333
monitor reset halt
flushregs
maintenance flush register-cache
thbreak app_main
continue
'''