freertos: take tasks snapshot out of tasks.c source code

This commit is contained in:
Omar Chebib
2021-08-04 10:56:37 +08:00
parent 0f0bd29f8f
commit 83c9e1b223
15 changed files with 417 additions and 252 deletions

View File

@@ -25,6 +25,7 @@
#ifdef CONFIG_ESP_GDBSTUB_SUPPORT_TASKS
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/task_snapshot.h"
#endif // CONFIG_ESP_GDBSTUB_SUPPORT_TASKS
/* Internal error codes used by the routines that parse the incoming gdb packet */