)]}'
{
  "commit": "175ee55a229d9a02ae702f8818e2e022faae3132",
  "tree": "bd8c484fc43fbaff56dbf971530fc86cf866962c",
  "parents": [
    "cbd9efbbc0414b71d47020958b5fbeff25504f15"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Thu May 18 15:05:56 2023 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Wed May 24 14:53:53 2023 -0400"
  },
  "message": "gdbsupport: add support for references to checked_static_cast\n\nAdd a checked_static_cast overload that works with references.  A bad\ndynamic cast with references throws std::bad_cast, it would be possible\nto implement the new overload based on that, but it seemed simpler to\njust piggy back off the existing function.\n\nI found some potential uses of this new overload in amd-dbgapi-target.c,\nupdate them to illustrate the use of the new overload.  To build\namd-dbgapi-target.c, on needs the amd-dbgapi library, which I don\u0027t\nexpect many people to have.  But I have it, and it builds fine here.  I\ndid test the new overload by making a purposely bad cast and it did\ncatch it.\n\nChange-Id: Id6b6a7db09fe3b4aa43cddb60575ff5f46761e96\nReviewed-By: Lancelot SIX \u003clsix@lancelotsix.com\u003e\nReviewed-By: Andrew Burgess \u003caburgess@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1077fab5c65e6c1015317d5c3b24191e07ad7fa1",
      "old_mode": 33188,
      "old_path": "gdb/amdgpu-tdep.c",
      "new_id": "21a7a3ae1b7958eea2e0378be7c1e0c644a50318",
      "new_mode": 33188,
      "new_path": "gdb/amdgpu-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "bc75244bddd0eb50ac73905207a874f9913f9511",
      "old_mode": 33188,
      "old_path": "gdbsupport/gdb-checked-static-cast.h",
      "new_id": "e9127b9c6e734b2b960d17092ccb503b3fcb0bc0",
      "new_mode": 33188,
      "new_path": "gdbsupport/gdb-checked-static-cast.h"
    }
  ]
}
