diff --git a/tools/gdb/nuttxgdb/diagnose.py b/tools/gdb/nuttxgdb/diagnose.py index b21ae1be62..139925618f 100644 --- a/tools/gdb/nuttxgdb/diagnose.py +++ b/tools/gdb/nuttxgdb/diagnose.py @@ -76,8 +76,11 @@ class DiagnoseReport(gdb.Command): result = command.diagnose() except gdb.error as e: result = { + "title": f"Command {name} failed", + "summary": "Command execution failed", + "result": "info", "command": name, - "error": str(e), + "message": str(e), } gdb.write(f"Failed: {e}\n")