)]}'
{
  "commit": "77b7377bc4c8d404de00c5a360e64daee75acf80",
  "tree": "a9812902e41fd6a8b04ef18ac824362655e134dd",
  "parents": [
    "c99b2113a478a075e8d8f7c3848a92f1ce73f847"
  ],
  "author": {
    "name": "Enze Li",
    "email": "enze.li@hotmail.com",
    "time": "Mon Sep 19 20:43:50 2022 +0800"
  },
  "committer": {
    "name": "Enze Li",
    "email": "enze.li@hotmail.com",
    "time": "Mon Sep 19 20:47:32 2022 +0800"
  },
  "message": "gdb: add ATTRIBUTE_PRINTF to gdb_bfd_error_handler\n\nI see this error when building with clang,\n\n  CXX    gdb_bfd.o\ngdb_bfd.c:1180:43: error: format string is not a string literal [-Werror,-Wformat-nonliteral]\n  const std::string str \u003d string_vprintf (fmt, ap_copy);\n                                          ^~~\n1 error generated.\n\nThis patch adds missing ATTRIBUTE_PRINTF to fix the error.\n\nTested on x86_64-linux with gcc 12 and clang 14.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6299148d419a6f4a76e20cfa310a099801f22202",
      "old_mode": 33188,
      "old_path": "gdb/gdb_bfd.c",
      "new_id": "c5a5ed95e8e71a08186c0de9bb18f063d2b6f804",
      "new_mode": 33188,
      "new_path": "gdb/gdb_bfd.c"
    }
  ]
}
