From 7b4054a4687f55601bcaf348918d510fd402b431 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 19 Sep 2018 13:24:29 +0800 Subject: [PATCH] espcoredump: Fix a test case of new gdb from the new toolchain --- .../espcoredump/test/expected_output_new_CT | 540 ++++++++++++++++++ .../espcoredump/test/test_espcoredump.sh | 10 +- 2 files changed, 548 insertions(+), 2 deletions(-) create mode 100644 components/espcoredump/test/expected_output_new_CT diff --git a/components/espcoredump/test/expected_output_new_CT b/components/espcoredump/test/expected_output_new_CT new file mode 100644 index 0000000000..f4e50d8531 --- /dev/null +++ b/components/espcoredump/test/expected_output_new_CT @@ -0,0 +1,540 @@ +espcoredump.py v0.2-dev +=============================================================== +==================== ESP32 CORE DUMP START ==================== + +================== CURRENT THREAD REGISTERS =================== +pc 0x400d216d 0x400d216d +lbeg 0x400014fd 1073747197 +lend 0x4000150d 1073747213 +lcount 0xffffffff 4294967295 +sar 0x0 0 +ps 0x60420 394272 +threadptr +br +scompare1 +acclo +acchi +m0 +m1 +m2 +m3 +expstate +f64r_lo +f64r_hi +f64s +fcr +fsr +a0 0x400d2148 1074602312 +a1 0x3ffb7bc0 1073445824 +a2 0x2 2 +a3 0x3f403c36 1061174326 +a4 0x3ffb7c00 1073445888 +a5 0x3ffae8f4 1073408244 +a6 0x0 0 +a7 0x0 0 +a8 0x5 5 +a9 0xffffffad -83 +a10 0x20 32 +a11 0x3ffb3e6c 1073430124 +a12 0x1 1 +a13 0x80 128 +a14 0x1 1 +a15 0x0 0 + +==================== CURRENT THREAD STACK ===================== +#0 0x400d216d in recur_func () at /home/dragon/esp/esp-idf/examples/get-started/hello_world/main/hello_world_main.c:70 +#1 0x400d2148 in recur_func () at /home/dragon/esp/esp-idf/examples/get-started/hello_world/main/hello_world_main.c:63 +#2 0x400d2148 in recur_func () at /home/dragon/esp/esp-idf/examples/get-started/hello_world/main/hello_world_main.c:63 +#3 0x400d2190 in unaligned_ptr_task (pvParameter=0x0) at /home/dragon/esp/esp-idf/examples/get-started/hello_world/main/hello_world_main.c:80 + +======================== THREADS INFO ========================= + Id Target Id Frame +* 1
0x400d216d in recur_func () at /home/dragon/esp/esp-idf/examples/get-started/hello_world/main/hello_world_main.c:70 + 2 process 1 0x400e4a86 in esp_vApplicationWaitiHook () at /home/dragon/esp/esp-idf/components/esp32/freertos_hooks.c:66 + 3 process 2 0x400e4a86 in esp_vApplicationWaitiHook () at /home/dragon/esp/esp-idf/components/esp32/freertos_hooks.c:66 + 4 process 3 0x4008559e in vTaskDelay (xTicksToDelay=) at /home/dragon/esp/esp-idf/components/freertos/tasks.c:1491 + 5 process 4 0x4008559e in vTaskDelay (xTicksToDelay=) at /home/dragon/esp/esp-idf/components/freertos/tasks.c:1491 + 6 process 5 0x4008629c in prvProcessTimerOrBlockTask (xNextExpireTime=, xListWasEmpty=) at /home/dragon/esp/esp-idf/components/freertos/timers.c:588 + 7 process 6 0x400846ad in xQueueGenericReceive (xQueue=0x3ffaea30, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /home/dragon/esp/esp-idf/components/freertos/queue.c:1591 + 8 process 7 0x4008114a in esp_crosscore_int_send_yield (core_id=1) at /home/dragon/esp/esp-idf/components/esp32/crosscore_int.c:112 + 9 process 8 0x400846ad in xQueueGenericReceive (xQueue=0x3ffafd44, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /home/dragon/esp/esp-idf/components/freertos/queue.c:1591 + +======================= ALL MEMORY REGIONS ======================== +Name Address Size Attrs +.rtc.text 0x400c0000 0x0 RW +.rtc_noinit 0x50000000 0x0 RW +.iram0.vectors 0x40080000 0x400 R XA +.iram0.text 0x40080400 0x93f8 RWXA +.dram0.data 0x3ffb0000 0x2288 RW A +.noinit 0x3ffb2288 0x0 RW +.flash.rodata 0x3f400020 0x6cd4 RW A +.flash.text 0x400d0018 0x14cb4 R XA +.coredump.tasks.data 0x3ffb3e04 0x164 RW +.coredump.tasks.data 0x3ffb7b00 0x1d0 RW +.coredump.tasks.data 0x3ffb56fc 0x164 RW +.coredump.tasks.data 0x3ffb5590 0x164 RW +.coredump.tasks.data 0x3ffb5c68 0x164 RW +.coredump.tasks.data 0x3ffb5b00 0x160 RW +.coredump.tasks.data 0x3ffb3c9c 0x164 RW +.coredump.tasks.data 0x3ffb7360 0x16c RW +.coredump.tasks.data 0x3ffb3f6c 0x164 RW +.coredump.tasks.data 0x3ffb8370 0x164 RW +.coredump.tasks.data 0x3ffb66c8 0x164 RW +.coredump.tasks.data 0x3ffb6540 0x180 RW +.coredump.tasks.data 0x3ffafa88 0x164 RW +.coredump.tasks.data 0x3ffaf900 0x180 RW +.coredump.tasks.data 0x3ffb3b34 0x164 RW +.coredump.tasks.data 0x3ffb3980 0x1ac RW +.coredump.tasks.data 0x3ffafd98 0x164 RW +.coredump.tasks.data 0x3ffb35a0 0x188 RW + +====================== CORE DUMP MEMORY CONTENTS ======================== +.coredump.tasks.data 0x3ffb3e04 0x164 RW +0x3ffb3e04: 0x3ffb7b70 0x3ffb7c70 0x0000006d 0x3ffb2d3c +0x3ffb3e14: 0x3ffb2d3c 0x3ffb3e04 0x3ffb2d34 0x00000012 +0x3ffb3e24: 0xa5a5a5a5 0xa5a5a5a5 0x3ffb3e04 0x00000000 +0x3ffb3e34: 0x00000007 0x3ffb74d4 0x6c616e75 0x656e6769 +0x3ffb3e44: 0x74705f64 0x00745f72 0x00000001 0x3ffb7cd0 +0x3ffb3e54: 0x00000000 0x00060820 0x00000007 0x00000000 +0x3ffb3e64: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb3e74: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb3e84: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb3e94: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb3ea4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3eb4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ec4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ed4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ee4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ef4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f04: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f14: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f24: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f34: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f44: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f54: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3f64: 0x00000000 +.coredump.tasks.data 0x3ffb7b00 0x1d0 RW +0x3ffb7b00: 0x3f403b68 0x400d216d 0x00060430 0x800d2148 +0x3ffb7b10: 0x3ffb7bc0 0x00000002 0x3f403c36 0x3ffb7c00 +0x3ffb7b20: 0x3ffae8f4 0x00000000 0x00000000 0x00000005 +0x3ffb7b30: 0xffffffad 0x00000020 0x3ffb3e6c 0x00000001 +0x3ffb7b40: 0x00000080 0x00000001 0x00000000 0x00000000 +0x3ffb7b50: 0x0000001d 0x00000005 0x400014fd 0x4000150d +0x3ffb7b60: 0xffffffff 0x00000001 0x00000080 0x4008217c +0x3ffb7b70: 0x3ffb0f8c 0x00000000 0x00000000 0x00000000 +0x3ffb7b80: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb7b90: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7ba0: 0x00000001 0x00000080 0x00000001 0x00000000 +0x3ffb7bb0: 0x800d2148 0x3ffb7bf0 0x00000001 0x3ffae8f4 +0x3ffb7bc0: 0x800d27a7 0x3ffb7bf0 0x0000000a 0x3ffae8f4 +0x3ffb7bd0: 0x3ffb7c00 0x3ffae8f4 0x00000000 0x00000000 +0x3ffb7be0: 0x800d2190 0x3ffb7c20 0x0000000a 0x00000001 +0x3ffb7bf0: 0x3f403b93 0x0000001e 0x3f403c35 0x00000001 +0x3ffb7c00: 0x00060023 0x00000001 0x00060021 0x3ffb3aa0 +0x3ffb7c10: 0x00000000 0x3ffb7c50 0x00000000 0x00000000 +0x3ffb7c20: 0x00000003 0x3ffb7c50 0x00000000 0x00000000 +0x3ffb7c30: 0x3ffb106c 0x3ffb3e04 0x00000000 0x00000000 +0x3ffb7c40: 0x00000000 0x3ffb7c70 0x00000000 0x00000000 +0x3ffb7c50: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7c60: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7c70: 0x00000000 0x00000000 0x3ffb7c7c 0x00000000 +0x3ffb7c80: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7c90: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7ca0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7cb0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7cc0: 0x00000000 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffb56fc 0x164 RW +0x3ffb56fc: 0x3ffb5590 0x3ffb5690 0x195c72d9 0x3ffb5c70 +0x3ffb570c: 0x3ffb2cb0 0x3ffb56fc 0x3ffb2ca8 0x00000019 +0x3ffb571c: 0x490223d5 0xf77c8d12 0x3ffb56fc 0x00000000 +0x3ffb572c: 0x00000000 0x3ffb52f8 0x454c4449 0x7a300030 +0x3ffb573c: 0x91128825 0x00f6b6f0 0x00000000 0x3ffb56f4 +0x3ffb574c: 0x00000000 0x00060220 0x00000000 0x00000000 +0x3ffb575c: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb576c: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb577c: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb578c: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb579c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57ac: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57bc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57cc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57dc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57ec: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb57fc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb580c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb581c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb582c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb583c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb584c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb585c: 0x8fe33c00 +.coredump.tasks.data 0x3ffb5590 0x164 RW +0x3ffb5590: 0x400821d8 0x400e4a86 0x00060230 0x800857b8 +0x3ffb55a0: 0x3ffb5650 0x00000008 0x00000000 0x00000001 +0x3ffb55b0: 0x3ffb5c68 0x00000000 0x00000001 0x3ffb2bac +0x3ffb55c0: 0x3ffb2b90 0x00000000 0x00000001 0x00000000 +0x3ffb55d0: 0x00000001 0x00060021 0x00060823 0x00000000 +0x3ffb55e0: 0x80084bdc 0x3ffb5610 0x00000000 0x00000000 +0x3ffb55f0: 0x00000000 0x400823d1 0x00000001 0x400864e8 +0x3ffb5600: 0x3ffae901 0x00000000 0x00000000 0x00000000 +0x3ffb5610: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb5620: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5630: 0x00000000 0x00000001 0x00060021 0x00060823 +0x3ffb5640: 0x00000000 0x3ffb5670 0x00000000 0x00000000 +0x3ffb5650: 0x00000001 0x3ffb5c68 0x00000000 0x00000001 +0x3ffb5660: 0x00000000 0x3ffb5690 0x00000000 0x00000000 +0x3ffb5670: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5680: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5690: 0x00000000 0x00000000 0x3ffb569c 0x00000000 +0x3ffb56a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb56b0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb56c0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb56d0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb56e0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb56f0: 0x00000000 +.coredump.tasks.data 0x3ffb5c68 0x164 RW +0x3ffb5c68: 0x3ffb5b00 0x3ffb5c00 0xe7e3b153 0x3ffb2cb0 +0x3ffb5c78: 0x3ffb5704 0x3ffb5c68 0x3ffb2ca8 0x00000019 +0x3ffb5c88: 0xbd385aa8 0x3b1ece45 0x3ffb5c68 0x00000000 +0x3ffb5c98: 0x00000000 0x3ffb5864 0x454c4449 0x8e700031 +0x3ffb5ca8: 0x0b5d9160 0x00ec3ae7 0x00000001 0x3ffb5c60 +0x3ffb5cb8: 0x00000000 0x00060e20 0x00000000 0x00000000 +0x3ffb5cc8: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb5cd8: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb5ce8: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb5cf8: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb5d08: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d18: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d28: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d38: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d48: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d58: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d68: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d78: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d88: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5d98: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5da8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5db8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5dc8: 0x5fb19b00 +.coredump.tasks.data 0x3ffb5b00 0x160 RW +0x3ffb5b00: 0x400821d8 0x400e4a86 0x00060e30 0x800857b8 +0x3ffb5b10: 0x3ffb5bc0 0x00000008 0x00000001 0x00000000 +0x3ffb5b20: 0x3ffb56fc 0x00000000 0x00000001 0x3ffb2bcc +0x3ffb5b30: 0x3ffb2b90 0x00000000 0x80000001 0x00000000 +0x3ffb5b40: 0x00000001 0x00060021 0x00000000 0x00000000 +0x3ffb5b50: 0x00060020 0x00000001 0x00000000 0x00000000 +0x3ffb5b60: 0x00000000 0x400823d1 0x00000001 0x400864e8 +0x3ffb5b70: 0x3ffaef1c 0x00000000 0x00000000 0x00000000 +0x3ffb5b80: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb5b90: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5ba0: 0x00000000 0x00000001 0x00060021 0x00000000 +0x3ffb5bb0: 0x00000000 0x3ffb5be0 0x00000000 0x00000000 +0x3ffb5bc0: 0x00000000 0x3ffb56fc 0x00000000 0x00000001 +0x3ffb5bd0: 0x00000000 0x3ffb5c00 0x00000000 0x00000000 +0x3ffb5be0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5bf0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5c00: 0x00000000 0x00000000 0x3ffb5c0c 0x00000000 +0x3ffb5c10: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5c20: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5c30: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5c40: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb5c50: 0x00000000 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffb3c9c 0x164 RW +0x3ffb3c9c: 0x3ffb7360 0x3ffb7460 0x000000d1 0x3ffb2c9c +0x3ffb3cac: 0x3ffb3f74 0x3ffb3c9c 0x3ffb2c94 0x00000014 +0x3ffb3cbc: 0x3ffb6c24 0x3ffb6c24 0x3ffb3c9c 0x00000000 +0x3ffb3ccc: 0x00000005 0x3ffb6cd0 0x5f646162 0x5f727470 +0x3ffb3cdc: 0x6b736174 0x00a5a500 0x7fffffff 0x3ffb74cc +0x3ffb3cec: 0x00000000 0x00060021 0x00000005 0x00000000 +0x3ffb3cfc: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb3d0c: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb3d1c: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb3d2c: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb3d3c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d4c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d5c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d6c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d7c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d8c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3d9c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3dac: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3dbc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3dcc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ddc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3dec: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3dfc: 0xa5a5a500 +.coredump.tasks.data 0x3ffb7360 0x16c RW +0x3ffb7360: 0x400821d8 0x4008559e 0x00060230 0x800d2113 +0x3ffb7370: 0x3ffb7420 0x000000d1 0x00000000 0x3ffb106c +0x3ffb7380: 0x3ffb3c9c 0x00000000 0x00000000 0x8008559e +0x3ffb7390: 0x3ffb7400 0x00000000 0x000000d1 0x00060023 +0x3ffb73a0: 0x00000001 0x00060021 0x3ffb5b70 0x00000000 +0x3ffb73b0: 0x800d27a4 0x3ffb73e0 0x400014fd 0x4000150d +0x3ffb73c0: 0xfffffff9 0x400823d1 0x00000001 0x400864e8 +0x3ffb73d0: 0x3ffb077c 0x00000000 0x00000000 0x00000000 +0x3ffb73e0: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb73f0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7400: 0x00060023 0x00000001 0x00060021 0x3ffb5b70 +0x3ffb7410: 0x00000000 0x3ffb7440 0x00000000 0x00000000 +0x3ffb7420: 0x3ffb106c 0x3ffb3c9c 0x00000000 0x00000000 +0x3ffb7430: 0x00000000 0x3ffb7460 0x00000000 0x00000000 +0x3ffb7440: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7450: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7460: 0x00000000 0x00000000 0x3ffb746c 0x00000000 +0x3ffb7470: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7480: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb7490: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb74a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb74b0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb74c0: 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffb3f6c 0x164 RW +0x3ffb3f6c: 0x3ffb8370 0x3ffb8470 0x000000d1 0x3ffb3ca4 +0x3ffb3f7c: 0x3ffb2c9c 0x3ffb3f6c 0x3ffb2c94 0x0000000f +0x3ffb3f8c: 0x3ffb3cb8 0x3ffb6c24 0x3ffb3f6c 0x00000000 +0x3ffb3f9c: 0x0000000a 0x3ffb7cd8 0x6c696166 0x615f6465 +0x3ffb3fac: 0x72657373 0x00745f74 0x00000000 0x3ffb84d4 +0x3ffb3fbc: 0x00000000 0x00060021 0x0000000a 0x00000000 +0x3ffb3fcc: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb3fdc: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb3fec: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb3ffc: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb400c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb401c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb402c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb403c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb404c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb405c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb406c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb407c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb408c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb409c: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb40ac: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb40bc: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb40cc: 0x00000000 +.coredump.tasks.data 0x3ffb8370 0x164 RW +0x3ffb8370: 0x400821d8 0x4008559e 0x00060230 0x800d20a3 +0x3ffb8380: 0x3ffb8430 0x000000d1 0x00000000 0x3ffb106c +0x3ffb8390: 0x3ffb3f6c 0x00000000 0x00000000 0x8008559e +0x3ffb83a0: 0x3ffb8410 0x00000000 0x000000d1 0x00060023 +0x3ffb83b0: 0x00000001 0x00060021 0x00000000 0x00000000 +0x3ffb83c0: 0x800d27a4 0x3ffb83f0 0x400014fd 0x4000150d +0x3ffb83d0: 0xfffffff8 0x400823d1 0x00000001 0x400864e8 +0x3ffb83e0: 0x3ffb178c 0x00000000 0x00000000 0x00000000 +0x3ffb83f0: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb8400: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb8410: 0x00060023 0x00000001 0x00060021 0x00000000 +0x3ffb8420: 0x00000000 0x3ffb8450 0x00000000 0x00000000 +0x3ffb8430: 0x3ffb106c 0x3ffb3f6c 0x00000000 0x00000000 +0x3ffb8440: 0x00000000 0x3ffb8470 0x00000000 0x00000000 +0x3ffb8450: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb8460: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb8470: 0x00000000 0x00000000 0x3ffb847c 0x00000000 +0x3ffb8480: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb8490: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb84a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb84b0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb84c0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb84d0: 0x00000000 +.coredump.tasks.data 0x3ffb66c8 0x164 RW +0x3ffb66c8: 0x3ffb6540 0x3ffb6660 0x00000000 0x3ffb2c88 +0x3ffb66d8: 0x3ffb2c88 0x3ffb66c8 0x3ffb2c80 0x00000018 +0x3ffb66e8: 0x3ffb5dfc 0x3ffb5dfc 0x3ffb66c8 0x3ffb5df4 +0x3ffb66f8: 0x00000001 0x3ffb5ec4 0x20726d54 0x00637653 +0x3ffb6708: 0xd39f0f55 0x00a2af81 0x00000000 0x3ffb66c0 +0x3ffb6718: 0x00000000 0x00060021 0x00000001 0x00000000 +0x3ffb6728: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb6738: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb6748: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb6758: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb6768: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6778: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6788: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6798: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67a8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67b8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67c8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67d8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67e8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb67f8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6808: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6818: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6828: 0x97f9e600 +.coredump.tasks.data 0x3ffb6540 0x180 RW +0x3ffb6540: 0x400821d8 0x4008629c 0x00060830 0x8008638f +0x3ffb6550: 0x3ffb6600 0x3ffb2ea8 0x00000000 0x00000001 +0x3ffb6560: 0x3ffb510c 0x00000000 0x00000001 0x8008629c +0x3ffb6570: 0x3ffb65e0 0x00000000 0x3ffb2c00 0x3ffb5e18 +0x3ffb6580: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6590: 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x00000000 +0x3ffb65a0: 0x00000000 0x400823d1 0x00000000 0x400864e8 +0x3ffb65b0: 0x3ffaf97c 0x00000000 0x00000000 0x00000000 +0x3ffb65c0: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb65d0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb65e0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb65f0: 0x00000000 0x3ffb6630 0x00000000 0x00000000 +0x3ffb6600: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6610: 0x3ffaf97c 0x00000000 0x00000000 0x00000000 +0x3ffb6620: 0x00000000 0x3ffb6660 0x00000000 0x00000000 +0x3ffb6630: 0x00000001 0x00000000 0x00000000 0x00000000 +0x3ffb6640: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6650: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6660: 0x00000000 0x00000000 0x3ffb666c 0x00000000 +0x3ffb6670: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6680: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb6690: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb66a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb66b0: 0x00000000 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffafa88 0x164 RW +0x3ffafa88: 0x3ffaf900 0x3ffafa20 0x5ff990da 0x3ffb3b3c +0x3ffafa98: 0x3ffafda0 0x3ffafa88 0x3ffb2c24 0x00000003 +0x3ffafaa8: 0x3ffaea5c 0x3ffaea5c 0x3ffafa88 0x3ffaea54 +0x3ffafab8: 0x00000016 0x3ffaea84 0x5f707365 0x656d6974 +0x3ffafac8: 0xe11f0072 0x00f45ee9 0x00000000 0x3ffafa80 +0x3ffafad8: 0x00000000 0x00060021 0x00000016 0x00000000 +0x3ffafae8: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffafaf8: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffafb08: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffafb18: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffafb28: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb38: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb48: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb58: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb68: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb78: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb88: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafb98: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafba8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafbb8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafbc8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafbd8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafbe8: 0x354b8800 +.coredump.tasks.data 0x3ffaf900 0x180 RW +0x3ffaf900: 0x400821d8 0x400846ad 0x00060030 0x800d14fb +0x3ffaf910: 0x3ffaf9c0 0x3ffaea30 0x00000000 0x3ffaea78 +0x3ffaf920: 0x00000000 0x00000001 0x00000001 0x800846ad +0x3ffaf930: 0x3ffaf9a0 0x00000000 0x3ffb2e9c 0x3ffb2e9c +0x3ffaf940: 0x00000001 0x00060021 0x00000000 0x00000000 +0x3ffaf950: 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x00000000 +0x3ffaf960: 0x00000000 0x400823d1 0x00000001 0x400864e8 +0x3ffaf970: 0x3ffa8d3c 0x00000000 0x00000000 0x00000000 +0x3ffaf980: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffaf990: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffaf9a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffaf9b0: 0x00000000 0x3ffafa00 0x00000000 0x00000000 +0x3ffaf9c0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffaf9d0: 0xffffffff 0x00000000 0x00000000 0x00000000 +0x3ffaf9e0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffaf9f0: 0x00000000 0x3ffafa20 0x00000000 0x00000000 +0x3ffafa00: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa10: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa20: 0x00000000 0x00000000 0x3ffafa2c 0x00000000 +0x3ffafa30: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa40: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa50: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa60: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafa70: 0x00000000 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffb3b34 0x164 RW +0x3ffb3b34: 0x3ffb3980 0x3ffb3ac0 0x88083cc0 0x3ffb2c2c +0x3ffb3b44: 0x3ffafa90 0x3ffb3b34 0x3ffb2c24 0x00000001 +0x3ffb3b54: 0x3ffaff2c 0x3ffaff2c 0x3ffb3b34 0x3ffaff24 +0x3ffb3b64: 0x00000018 0x3ffb3730 0x31637069 0xeff9c300 +0x3ffb3b74: 0xc4c0f656 0x008423ac 0x00000001 0x3ffb3b2c +0x3ffb3b84: 0x00000000 0x00060021 0x00000018 0x00000000 +0x3ffb3b94: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffb3ba4: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffb3bb4: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffb3bc4: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffb3bd4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3be4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3bf4: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c04: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c14: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c24: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c34: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c44: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c54: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c64: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c74: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c84: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3c94: 0x048ed900 +.coredump.tasks.data 0x3ffb3980 0x1ac RW +0x3ffb3980: 0x400821d8 0x4008114a 0x00060030 0x800846ad +0x3ffb3990: 0x3ffb3a40 0x00000001 0x3ffb2e9c 0x3ffb2ea0 +0x3ffb39a0: 0x3ffe7c90 0x00000000 0x00060723 0x8008114a +0x3ffb39b0: 0x3ffb3a20 0x3ff000e0 0x00000001 0x3ffb102c +0x3ffb39c0: 0x00000001 0x00060020 0x00060023 0x00000000 +0x3ffb39d0: 0x3ffb3a40 0x00000001 0x00000000 0x00000000 +0x3ffb39e0: 0x00000000 0x400823d1 0x00000001 0x400864e8 +0x3ffb39f0: 0x3ffacddc 0x00000000 0x00000000 0x00000000 +0x3ffb3a00: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb3a10: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3a20: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb3a30: 0x800811b3 0x3ffb3a60 0x3ffaff00 0x00000000 +0x3ffb3a40: 0x00000001 0x00000001 0x00060020 0x00060023 +0x3ffb3a50: 0x00000000 0x3ffb3aa0 0x00000001 0x40082ff8 +0x3ffb3a60: 0x00000000 0x00000009 0x00000000 0x00060723 +0x3ffb3a70: 0xffffffff 0x3ffb3aa0 0x00000001 0x40082ff8 +0x3ffb3a80: 0x3ffaff48 0x00000000 0x00000001 0x00000000 +0x3ffb3a90: 0x00000000 0x3ffb3ac0 0x00000000 0x00000000 +0x3ffb3aa0: 0x00000001 0x00000000 0x00000000 0x00000000 +0x3ffb3ab0: 0x80080f2c 0x3ffe7d80 0x00000028 0x00000028 +0x3ffb3ac0: 0x00000000 0x00000000 0x3ffb3acc 0x00000000 +0x3ffb3ad0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3ae0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3af0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3b00: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3b10: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3b20: 0x00000000 0x00000000 0x00000000 +.coredump.tasks.data 0x3ffafd98 0x164 RW +0x3ffafd98: 0x3ffb35a0 0x3ffb36c0 0x73fa8154 0x3ffafa90 +0x3ffafda8: 0x3ffb2c2c 0x3ffafd98 0x3ffb2c24 0x00000001 +0x3ffafdb8: 0x3ffafd70 0x3ffafd70 0x3ffafd98 0x3ffafd68 +0x3ffafdc8: 0x00000018 0x3ffb332c 0x30637069 0x1e3d8600 +0x3ffafdd8: 0xfe7fd40a 0x0014a8b5 0x00000000 0x3ffb3728 +0x3ffafde8: 0x00000000 0x00060021 0x00000018 0x00000000 +0x3ffafdf8: 0x00000000 0x00000000 0x00000000 0x3ffae88c +0x3ffafe08: 0x3ffae8f4 0x3ffae95c 0x00000000 0x00000000 +0x3ffafe18: 0x00000001 0x00000000 0x3f403c78 0x00000000 +0x3ffafe28: 0x40001d48 0x00000000 0x00000000 0x00000000 +0x3ffafe38: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe48: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe58: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe68: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe78: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe88: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafe98: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafea8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafeb8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafec8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafed8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafee8: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffafef8: 0x7eb2c400 +.coredump.tasks.data 0x3ffb35a0 0x188 RW +0x3ffb35a0: 0x400821d8 0x400846ad 0x00060030 0x800811b3 +0x3ffb35b0: 0x3ffb3660 0x3ffafd44 0x00000000 0x3ffafd8c +0x3ffb35c0: 0x00000000 0x00000001 0x00000001 0x800846ad +0x3ffb35d0: 0x3ffb3640 0x00000000 0x3ffb2e9c 0x3ffb2e9c +0x3ffb35e0: 0x3ffe3af0 0x00000000 0x00000002 0x00000000 +0x3ffb35f0: 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x00000000 +0x3ffb3600: 0x00000000 0x400823d1 0x3ffe3af0 0x400864e8 +0x3ffb3610: 0x3ffac9dc 0x00000000 0x00000000 0x00000000 +0x3ffb3620: 0xb33fffff 0x00000000 0x00000000 0x00000000 +0x3ffb3630: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3640: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3650: 0x00000000 0x3ffb36a0 0x00000000 0x00000000 +0x3ffb3660: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3670: 0xffffffff 0x00000000 0x00000000 0x00000000 +0x3ffb3680: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3690: 0x00000000 0x3ffb36c0 0x00000000 0x00000000 +0x3ffb36a0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb36b0: 0x80080eaa 0x3ffe3ba0 0x3ffb2c0c 0x3ffb2ee4 +0x3ffb36c0: 0x00000000 0x00000000 0x3ffb36cc 0x00000000 +0x3ffb36d0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb36e0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb36f0: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3700: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3710: 0x00000000 0x00000000 0x00000000 0x00000000 +0x3ffb3720: 0x00000000 0x00000000 + +===================== ESP32 CORE DUMP END ===================== +=============================================================== +Done! diff --git a/components/espcoredump/test/test_espcoredump.sh b/components/espcoredump/test/test_espcoredump.sh index 8a8499ce48..7970dd1326 100755 --- a/components/espcoredump/test/test_espcoredump.sh +++ b/components/espcoredump/test/test_espcoredump.sh @@ -1,10 +1,16 @@ #! /bin/bash +if [ "$(xtensa-esp32-elf-gcc -dumpversion)" = "5.2.0" ]; then + EXPECTED_OUTPUT="expected_output" +else + # GCC_NOT_5_2_0 just a hint to remove later + EXPECTED_OUTPUT="expected_output_new_CT" +fi + { coverage debug sys \ && coverage erase \ && coverage run -a --source=espcoredump ../espcoredump.py info_corefile -m -t b64 -c coredump.b64 test.elf &> output \ - && diff expected_output output \ + && diff ${EXPECTED_OUTPUT} output \ && coverage run -a --source=espcoredump ./test_espcoredump.py \ && coverage report \ ; } || { echo 'The test for espcoredump has failed!'; exit 1; } - -- 2.40.0