mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
Add generic mg_health report for mdash
This commit is contained in:
1 parent
60c75a22b8
commit
4e7c664455
16 files changed
+1225
-230
No files matched your search
@@ -0,0 +1,14 @@
|
||||
set architecture armv7e-m
|
||||
target remote 127.0.0.1:3334
|
||||
set $cfsr = *(unsigned int *) 0xe000ed28
|
||||
set $hfsr = *(unsigned int *) 0xe000ed2c
|
||||
set $bfar = *(unsigned int *) 0xe000ed38
|
||||
set $abfsr = *(unsigned int *) 0xe000efa8
|
||||
printf "Fault registers: CFSR=0x%08x HFSR=0x%08x BFAR=0x%08x ABFSR=0x%08x\n", $cfsr, $hfsr, $bfar, $abfsr
|
||||
if $cfsr & 0x00000400
|
||||
printf "Imprecise BusFault: exception PC is asynchronous; offending instruction may be earlier.\n"
|
||||
end
|
||||
if $cfsr & 0x00008000
|
||||
printf "BFAR valid: 0x%08x\n", $bfar
|
||||
end
|
||||
bt
|
||||
Reference in new issue
Block a user