)]}'
{
  "commit": "e90c268b3e142bd97b10425fd32ea0d3ea1c8d07",
  "tree": "5bb469ace839d60fef2e276986e82e18f3c72d04",
  "parents": [
    "88d6ee4c9afcf4e08b691e0d82d247d51ed70e8a"
  ],
  "author": {
    "name": "Guinevere Larsen",
    "email": "guinevere@redhat.com",
    "time": "Mon Sep 01 11:48:30 2025 -0300"
  },
  "committer": {
    "name": "Guinevere Larsen",
    "email": "guinevere@redhat.com",
    "time": "Thu Sep 04 14:56:37 2025 -0300"
  },
  "message": "gdb/testsuite: fix possible TCL errors in gdb.threads/threadcrash.exp\n\nThe test gdb.threads/threadcrash.exp, among other things, creates a list\nof the threads seen in the order that the \"thread apply all backtrace\"\nwould generate them, tests that this list is the same size as GDB\u0027s\ncount of threads, and then loops over the list to check that each\nthread has the expected backtrace.\n\nA problem occurs because the loop iterates on GDB\u0027s internal count of\nthreads, rather than the size of the list, but then attempts to acces\nthe n-th element of the list. If the list size is smaller than GDB\u0027s\ninternal thread count, it\u0027ll access past the end of the list and\ngenerate TCL errors.\n\nThis commit fixes this by using the list\u0027s length instead.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76d2c6c2541eaf5ddd5590c3e6dee9d685729fdb",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/threadcrash.exp",
      "new_id": "8df857868aaee21f379e1f0d47a566a1a3ba7a20",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/threadcrash.exp"
    }
  ]
}
