)]}'
{
  "commit": "dfea48fc0f040e87c5d7d4fc34c0610dc0039ad1",
  "tree": "28800394fccffea283142330be810f4edaae8535",
  "parents": [
    "dac9773e17261f905d51684fe35da036e82c69cd"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Jun 17 11:10:40 2022 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Jun 17 11:39:57 2022 +0100"
  },
  "message": "Fix GDB build with GCC 4.8 \u0026 4.9\n\nWith gcc 4.8/4.9, we run into this build failure (and other similar\nones):\n\n  /home/palves/gdb/binutils-gdb/src/gdb/location.h:224:59: error: could not convert ‘{0, LINE_OFFSET_UNKNOWN}’ from ‘\u003cbrace-enclosed initializer list\u003e’ to ‘line_offset’\n     struct line_offset line_offset \u003d {0, LINE_OFFSET_UNKNOWN};\n\t\t\t\t\t\t\t     ^\n\nThe issue is that at around the GCC 4.8/4.9 era, a default member\ninitializer prevented the struct from being an aggregate, so you\ncannot use aggregate initialization on them.  That rule changed after\nGCC 4.9 and GCC 5 \u0026 later uses new rules.\n\nFix this by not using aggregate initialization for struct line_offset.\nThe default member initization already leaves line_offset as {0,\nLINE_OFFSET_UNKNOWN}, so initialization to those values can just go\naway.  The remaining cases are of the form {0, LINE_OFFSET_NONE}, and\nthose cases can be better rewritten to delay setting the sign field\nuntil we know we have a valid offset.\n\nChange-Id: I0506ea4a83c5fa2f15e159569db68b3b0a7509b4\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "10dca95e767c51c9785f772407a6f63c267b28ed",
      "old_mode": 33188,
      "old_path": "gdb/linespec.c",
      "new_id": "3db35998f7e18c9888e3a803f4c3f6dab3a8d6db",
      "new_mode": 33188,
      "new_path": "gdb/linespec.c"
    },
    {
      "type": "modify",
      "old_id": "fd0b320628d160a2cbca042481a476d25c460c0e",
      "old_mode": 33188,
      "old_path": "gdb/location.h",
      "new_id": "f9d0f95136c46fdda430fd82ef6941f2d1c1c392",
      "new_mode": 33188,
      "new_path": "gdb/location.h"
    }
  ]
}
