)]}'
{
  "commit": "d43bd54d543742c76fb20a0fe379817ccca4e5f2",
  "tree": "bd9343ee5c85ac675fb3ab8c6f85ab2bf9653e36",
  "parents": [
    "cfeab26e4d42fb6f1bde429ab53a885a9d106a69"
  ],
  "author": {
    "name": "Umair Sair",
    "email": "umair_sair@hotmail.com",
    "time": "Thu Feb 24 22:25:51 2022 +0500"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Mar 07 19:38:53 2022 +0000"
  },
  "message": "gdb/mi: fix regression in mi -add-inferior command\n\nPrior to the multi-target support commit:\n\n  commit 5b6d1e4fa4fc6827c7b3f0e99ff120dfa14d65d2\n  Date:   Fri Jan 10 20:06:08 2020 +0000\n\n      Multi-target support\n\nWhen a new inferior was added using the MI -add-inferior command, the\nnew inferior would be using the same target as all the other\ninferiors.  This makes sense, GDB only supported a single target stack\nat a time.\n\nAfter the above commit, each inferior has its own target stack.\n\nTo maintain backward compatibility, for the CLI add-inferior command,\nwhen a new inferior is added the above commit has the new inferior\ninherit a copy of the target stack from the current inferior.\n\nUnfortunately, this same backward compatibility is missing for the MI.\n\nThis commit fixes this oversight.\n\nNow, when the -add-inferior MI command is used, the new inferior will\ninherit a copy of the target stack from the current inferior.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee9eaad63a0a15f9bf4e6f2621d237c9a6b3d050",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "4e12ebfb0bdac338acb5008cf25df57d0b415121",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "965ae65287ef665ce0f3ce5017a67ec31bc7e1f4",
      "old_mode": 33188,
      "old_path": "gdb/inferior.c",
      "new_id": "48d5c8bfd1545759fe94a54fc82c6e94583ad55d",
      "new_mode": 33188,
      "new_path": "gdb/inferior.c"
    },
    {
      "type": "modify",
      "old_id": "45de3c2d9c8b1bd6421b3f152433d2bcbfb92161",
      "old_mode": 33188,
      "old_path": "gdb/inferior.h",
      "new_id": "caabc2ee8d8b0df2fd382891edbc8ee1a8f79f70",
      "new_mode": 33188,
      "new_path": "gdb/inferior.h"
    },
    {
      "type": "modify",
      "old_id": "4860da7536a99e6e50f5cc95ab9774735b4125f1",
      "old_mode": 33188,
      "old_path": "gdb/mi/mi-main.c",
      "new_id": "2fab592d6fbeed4ae7e5c354fe869727bbe6d98f",
      "new_mode": 33188,
      "new_path": "gdb/mi/mi-main.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3f0cd7cc06c277296cca25d056a241021a17dee7",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.mi/mi-add-inferior.exp"
    }
  ]
}
