esp-idf/tools/esp_app_trace/test/sysview/gdbinit
Daniel Mangum 647e7a2a71
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
2023-07-13 09:26:47 +02:00

20 lines
267 B
Plaintext

target remote :3333
mon reset halt
maintenance flush register-cache
b heap_trace_start
commands
clear heap_trace_start
mon esp32 sysview start file://cpu0.svdat file://cpu1.svdat
c
end
b heap_trace_stop
commands
clear heap_trace_stop
mon esp32 sysview stop
end
c