Commit 3c82cd65 authored by Marcio Ribeiro's avatar Marcio Ribeiro Committed by Carles Cufi
Browse files

openocd: esp32: gdb init command update

flushregs alias is deprecated, so it was replaced by the command:
"maintenance flush register-cache"

Signed-off-by: default avatarMarcio Ribeiro <marcio.ribeiro@espressif.com>
parent 3e8ea52e
Loading
Loading
Loading
Loading
+1 −1
Changes for boards/common/esp32.board.cmake: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ board_set_debugger_ifnset(openocd)
board_runner_args(openocd  --no-init --no-halt --no-targets --no-load)
board_runner_args(openocd  --gdb-init "set remote hardware-watchpoint-limit 2")

board_runner_args(openocd  --gdb-init "flushregs")
board_runner_args(openocd  --gdb-init "maintenance flush register-cache")
board_runner_args(openocd  --gdb-init "mon reset halt")
board_runner_args(openocd  --gdb-init "thb main")