)]}'
{
  "commit": "e379f6521a9fbc65de8cd90a950e28d0ca522ae3",
  "tree": "ad535756dd30530414241d77a7af18527068a7f6",
  "parents": [
    "6c849804cff9e251876f3edb64d44dabeadaa711"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Tue Sep 27 12:53:25 2022 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Fri Oct 21 09:40:59 2022 -0600"
  },
  "message": "Fix crash in value_print_array_elements\n\nA user noticed that gdb would crash when printing a packed array after\ndoing \"set lang c\".  Packed arrays don\u0027t exist in C, but it\u0027s\noccasionally useful to print things in C mode when working in a non-C\nlanguage -- this lets you see under the hood a little bit.\n\nThe bug here is that generic value printing does not handle packed\narrays at all.  This patch fixes the bug by introducing a new function\nto extract a value from a bit offset and width.\n\nThe new function includes a hack to avoid problems with some existing\ntest cases when using -fgnat-encodings\u003dall.  Cleaning up this code\nlooked difficult, and since \"all\" is effectively deprecated, I thought\nit made sense to simply work around the problems.\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "df34f31348a625b103ace6ac364ac5c5237c53cb",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.ada/packed_array.exp",
      "new_id": "e73298ec84c96373ac21811b888b2df82da5ef00",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/packed_array.exp"
    },
    {
      "type": "modify",
      "old_id": "685f89006280c95f91d77d10babdf7e859de1d01",
      "old_mode": 33188,
      "old_path": "gdb/valprint.c",
      "new_id": "25db57ea7946c9c53065d34f6de457265dd09afa",
      "new_mode": 33188,
      "new_path": "gdb/valprint.c"
    },
    {
      "type": "modify",
      "old_id": "470286302597fd3413d372b7160804c5fe0cc063",
      "old_mode": 33188,
      "old_path": "gdb/value.c",
      "new_id": "74af654c4510c11acbba9a22e90679b60e26f4ce",
      "new_mode": 33188,
      "new_path": "gdb/value.c"
    },
    {
      "type": "modify",
      "old_id": "d4b4f95a9c5813a6f3fe261703579d1795773a3d",
      "old_mode": 33188,
      "old_path": "gdb/value.h",
      "new_id": "2d148ce13d3d4998fc9bb152ae92bc5c229ba847",
      "new_mode": 33188,
      "new_path": "gdb/value.h"
    }
  ]
}
