)]}'
{
  "commit": "696b09bb2a1c9023a294096cfde085e395b4e5cc",
  "tree": "e75750df7d622519ca85c9ee9b963a7c448a8891",
  "parents": [
    "9d7d58e7262eff313be6a1e66b8b026e3e7fed0d"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Aug 04 14:25:54 2023 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Aug 23 10:29:15 2023 +0100"
  },
  "message": "gdb/testsuite: add mi_info_frame helper proc (and use it)\n\nNew helper proc mi_info_frame which takes care of running the MI\n-stack-info-frame command and matching its output.\n\nLike the breakpoint helper procs, this new proc takes a name/value\nargument list and uses this to build the expected result regexp.  This\nmeans that we can now write something like:\n\n  mi_info_frame \"test name here\" \\\n    -level 0 -func name -line 123\n\nInstead of the current equivalent:\n\n  mi_gdb_test \"235-stack-info-frame\" \\\n    \"235\\\\^done,frame\u003d\\{level\u003d\\\"0\\\",addr\u003d\\\"$hex\\\",func\u003d\\\"name\\\",file\u003d\\\".*\\\",fullname\u003d\\\".*\\\",line\u003d\\\"123\\\",arch\u003d\\\".*\\\"\\}\" \\\n    \"test name here\"\n\nThere\u0027s also a helper proc mi_make_info_frame_regexp which is\nresponsible for building the \u0027frame\u003d{...}\u0027 part of the pattern.\n\nI\u0027ve update the two existing tests that use -stack-info-frame and\nexpect the command to succeed.  There is another test that runs\n-stack-info-frame and expects the command to fail -- the helper proc\ndoesn\u0027t help with this case, so that test is not changed.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6abdb94addd066a55ea3d7586b66e494d8740371",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.mi/mi-cmd-user-context.exp",
      "new_id": "b6877b6e0cdaf9b24d509e8e490900aa7a55a4b2",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.mi/mi-cmd-user-context.exp"
    },
    {
      "type": "modify",
      "old_id": "777a425894f84c709302e4751aae0e5877e44c4f",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.mi/mi-stack.exp",
      "new_id": "592a3cfaba416ed7ee3758c4a545ca31728cdd3e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.mi/mi-stack.exp"
    },
    {
      "type": "modify",
      "old_id": "c9af88b9b1b98a3a24247c4b0d39a898789eda0c",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/mi-support.exp",
      "new_id": "872d93a7aaa23f593787b2beec94ab03cad2f07f",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/mi-support.exp"
    }
  ]
}
