)]}'
{
  "commit": "a197d5f7eb27e99c27577558df4274692cafe37e",
  "tree": "bcf0a11b8ac50b0075e4b8e6eaeb0bae3e5fdf1b",
  "parents": [
    "b960445a45981873c5b1718824ea9d3b5749433a"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Jan 18 11:08:45 2024 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Tue Jan 30 10:18:38 2024 -0700"
  },
  "message": "Really fix Windows gdbserver segment registers\n\nMy earlier attempt to mask the segment registers in gdbserver for\nWindows introduced some bugs.  That patch is here:\n\nhttps://sourceware.org/pipermail/gdb-patches/2023-December/205306.html\n\nThe problem turned out to be that these fields in the Windows\n\u0027CONTEXT\u0027 type are just 16 bits, so while masking the values on read\nis fine, writing the truncated values back then causes zeros to be\nwritten to some subsequent field.\n\nThis patch cleans this up by arranging never to write too much data to\na field.\n\nI also noticed that two register numbers here were never updated for\nthe 64-bit port.  This patch fixes this as well, and renames the \"FCS\"\nregister to follow gdb.\n\nFinally, this patch applies the same treatment to windows-nat.c.\n\nReviewed-by: John Baldwin \u003cjhb@FreeBSD.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28f142c1c6a17f2efbeb1bbab7e47323823fa1b4",
      "old_mode": 33188,
      "old_path": "gdb/windows-nat.c",
      "new_id": "6fdd1f3a1514876feaf07191871dfa44e399e123",
      "new_mode": 33188,
      "new_path": "gdb/windows-nat.c"
    },
    {
      "type": "modify",
      "old_id": "783e61f6f338c4b5be9aac2614819271a5fbaace",
      "old_mode": 33188,
      "old_path": "gdbserver/win32-i386-low.cc",
      "new_id": "44490300b69312ed593df25aaec0c1d722b37f89",
      "new_mode": 33188,
      "new_path": "gdbserver/win32-i386-low.cc"
    }
  ]
}
