Files
esp-idf/tools/esp_app_trace/test/sysview/gdbinit
Daniel Mangum de4c29b714 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
2025-05-26 11:31:57 +02:00

20 lines
273 B
Plaintext

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