This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit efb890abd35267aadbceb5d1767bf5b5dcb0dc83 Author: xuxingliang <[email protected]> AuthorDate: Sun Oct 20 23:20:27 2024 +0800 gdb/diagnose: use unified message for command error Signed-off-by: xuxingliang <[email protected]> --- tools/gdb/nuttxgdb/diagnose.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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")
