)]}'
{
  "commit": "a6e5abae4e9e845e6e69e07f755c0805558dcd63",
  "tree": "bbae67ddbbf65a8717b94be9f97f9bdcf4bc5074",
  "parents": [
    "6d84a385ed96ba457bdec3dd983643dd7afa3665"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Mar 22 17:22:51 2023 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Mar 29 08:57:10 2023 +0100"
  },
  "message": "gdb: move displaced_step_dump_bytes into gdbsupport (and rename)\n\nIt was pointed out during review of another patch that the function\ndisplaced_step_dump_bytes really isn\u0027t specific to displaced stepping,\nand should really get a more generic name and move into gdbsupport/.\n\nThis commit does just that.  The function is renamed to\nbytes_to_string and is moved into gdbsupport/common-utils.{cc,h}.  The\nfunction implementation doesn\u0027t really change. Much...\n\n... I have updated the function to take an array view, which makes it\nslightly easier to call in a couple of places where we already have a\ngdb::bytes_vector.  I\u0027ve then added an inline wrapper to convert a raw\npointer and length into an array view, which is used in places where\nwe don\u0027t easily have a gdb::bytes_vector (or similar).\n\nUpdated all users of displaced_step_dump_bytes.\n\nThere should be no user visible changes after this commit.\n\nFinally, I ended up having to add an include of gdb_assert.h into\narray-view.h.  When I include array-view.h into common-utils.h I ran\ninto build problems because array-view.h calls gdb_assert.\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "81665e52d29715c4f121e52e73af5d090157be2c",
      "old_mode": 33188,
      "old_path": "gdb/amd64-tdep.c",
      "new_id": "228b7518cb0961136bda275e97d55025d64be42f",
      "new_mode": 33188,
      "new_path": "gdb/amd64-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "3fefdf322d8f6aeaf0c870ecab5f94f46b39ecd1",
      "old_mode": 33188,
      "old_path": "gdb/displaced-stepping.c",
      "new_id": "c26888404b38e23049ce719d13548154730120e4",
      "new_mode": 33188,
      "new_path": "gdb/displaced-stepping.c"
    },
    {
      "type": "modify",
      "old_id": "96c04c1a3d6a7870b125ea3ab2106546aa60d26e",
      "old_mode": 33188,
      "old_path": "gdb/i386-tdep.c",
      "new_id": "e93479c35a3086ca011db1e69b3104fcb5e9be6b",
      "new_mode": 33188,
      "new_path": "gdb/i386-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "5ccdc0c87497d90edec859acd67e3c0fdf8e25ea",
      "old_mode": 33188,
      "old_path": "gdb/infrun.c",
      "new_id": "8a8439f6da55bbfacd160a3315a4ebd149cc15ff",
      "new_mode": 33188,
      "new_path": "gdb/infrun.c"
    },
    {
      "type": "modify",
      "old_id": "5219063586d23c6ff0ab405e095978d7a23e7e69",
      "old_mode": 33188,
      "old_path": "gdb/infrun.h",
      "new_id": "9b3c896293993877757f2c4b6ef10eeae92e1314",
      "new_mode": 33188,
      "new_path": "gdb/infrun.h"
    },
    {
      "type": "modify",
      "old_id": "8b400047cfba4e522d4d32d990e40213b3c898a9",
      "old_mode": 33188,
      "old_path": "gdb/rs6000-tdep.c",
      "new_id": "b071f38c960502f4cba82e0d9c73e00145c984ce",
      "new_mode": 33188,
      "new_path": "gdb/rs6000-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "cab1757c5ab9c1be5faf9598c8281c6240d5a183",
      "old_mode": 33188,
      "old_path": "gdb/s390-tdep.c",
      "new_id": "081a8b68867b53c22e70c0eccdf5a06e0c00611c",
      "new_mode": 33188,
      "new_path": "gdb/s390-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "3d8248b08b77e07987e50ca1f0158a04333e7472",
      "old_mode": 33188,
      "old_path": "gdbsupport/array-view.h",
      "new_id": "d07c8bc53fc00663bf0a5137999c43564a7005be",
      "new_mode": 33188,
      "new_path": "gdbsupport/array-view.h"
    },
    {
      "type": "modify",
      "old_id": "e382fb28d8fb97a6b1bd7b8ee84ca70c2c4433ec",
      "old_mode": 33188,
      "old_path": "gdbsupport/common-utils.cc",
      "new_id": "4a96f2c0e119f3693467dc002fb3a7036db75501",
      "new_mode": 33188,
      "new_path": "gdbsupport/common-utils.cc"
    },
    {
      "type": "modify",
      "old_id": "97dcb9fa8ce16f7e5295421d33fd0d31e667781a",
      "old_mode": 33188,
      "old_path": "gdbsupport/common-utils.h",
      "new_id": "4ceb44d88b88bf5f6ee0cc5a263f71afe2ab88d9",
      "new_mode": 33188,
      "new_path": "gdbsupport/common-utils.h"
    }
  ]
}
