)]}'
{
  "commit": "264f98902f27497f7494933628b0f5c4e117fe59",
  "tree": "7a56e489f4441c3132a4d2b0b636a64ace58cd7c",
  "parents": [
    "14e283ff4e0656327179a5b69954796af3807b66"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Mon May 23 20:15:18 2022 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Jun 17 09:41:24 2022 +0100"
  },
  "message": "event_location -\u003e location_spec\n\nCurrently, GDB internally uses the term \"location\" for both the\nlocation specification the user input (linespec, explicit location, or\nan address location), and for actual resolved locations, like the\nbreakpoint locations, or the result of decoding a location spec to\nSaLs.  This is expecially confusing in the breakpoints module, as\nstruct breakpoint has these two fields:\n\n  breakpoint::location;\n  breakpoint::loc;\n\n\"location\" is the location spec, and \"loc\" is the resolved locations.\n\nAnd then, we have a method called \"locations()\", which returns the\nresolved locations as range...\n\nThe location spec type is presently called event_location:\n\n  /* Location we used to set the breakpoint.  */\n  event_location_up location;\n\nand it is described like this:\n\n  /* The base class for all an event locations used to set a stop event\n     in the inferior.  */\n\n  struct event_location\n  {\n\nand even that is incorrect...  Location specs are used for finding\nactual locations in the program in scenarios that have nothing to do\nwith stop events.  E.g., \"list\" works with location specs.\n\nTo clean all this confusion up, this patch renames \"event_location\" to\n\"location_spec\" throughout, and then all the variables that hold a\nlocation spec, they are renamed to include \"spec\" in their name, like\ne.g., \"location\" -\u003e \"locspec\".  Similarly, functions that work with\nlocation specs, and currently have just \"location\" in their name are\nrenamed to include \"spec\" in their name too.\n\nChange-Id: I5814124798aa2b2003e79496e78f95c74e5eddca\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6ab01fd27d4f9021e1d0220dafb599ac1b76680f",
      "old_mode": 33188,
      "old_path": "gdb/ada-lang.c",
      "new_id": "93e0c67613f0a927416d5618abacce71013b65de",
      "new_mode": 33188,
      "new_path": "gdb/ada-lang.c"
    },
    {
      "type": "modify",
      "old_id": "f8ea8adc6266bd2cc1d3992bc3817536941f2b68",
      "old_mode": 33188,
      "old_path": "gdb/ax-gdb.c",
      "new_id": "1fccfde559e2dfcbfceb320e5052bcb15c654a74",
      "new_mode": 33188,
      "new_path": "gdb/ax-gdb.c"
    },
    {
      "type": "modify",
      "old_id": "66cf80be1c53e9c34ca6e178fc1e0964391f0f28",
      "old_mode": 33188,
      "old_path": "gdb/break-catch-throw.c",
      "new_id": "3ef4b972d4f9f90e642dd21b3d08460d218c342f",
      "new_mode": 33188,
      "new_path": "gdb/break-catch-throw.c"
    },
    {
      "type": "modify",
      "old_id": "ed932a19ed7b64542bd5ab202808287b3b20161b",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.c",
      "new_id": "ab88a38e0a39bb6b962e02c059c0e4f3a97aeec0",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "566f1285e461b4c4e5b6fdcd8e1ba34d3dd97ae1",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.h",
      "new_id": "f7884defce1ec2983722add47e19f051c29abf29",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.h"
    },
    {
      "type": "modify",
      "old_id": "31911ebe61fca060b7886eb4472581a9d28710f0",
      "old_mode": 33188,
      "old_path": "gdb/cli/cli-cmds.c",
      "new_id": "18fb6e6d8692fb3f46341d4e6ced07f0e7848397",
      "new_mode": 33188,
      "new_path": "gdb/cli/cli-cmds.c"
    },
    {
      "type": "modify",
      "old_id": "fea3eb9329d8464c8d74fb219d53182f568b36f7",
      "old_mode": 33188,
      "old_path": "gdb/completer.c",
      "new_id": "2ec8d2eb594a8fab4eed0c40e4d0eb0de0947d66",
      "new_mode": 33188,
      "new_path": "gdb/completer.c"
    },
    {
      "type": "modify",
      "old_id": "32cb27c8967e3053cc6e276633be4a2e9f79c436",
      "old_mode": 33188,
      "old_path": "gdb/elfread.c",
      "new_id": "2fe02805d0187d98e62c22c2eceef2f2806c8941",
      "new_mode": 33188,
      "new_path": "gdb/elfread.c"
    },
    {
      "type": "modify",
      "old_id": "d6c89aa8c71c79740c46cad5a015a49c74df9d4a",
      "old_mode": 33188,
      "old_path": "gdb/guile/scm-breakpoint.c",
      "new_id": "c358f0ba99dee6c9299721e9e189c024cbb0fea4",
      "new_mode": 33188,
      "new_path": "gdb/guile/scm-breakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "c9558c8ae3608f00f74a7aaafc83482b14068f9f",
      "old_mode": 33188,
      "old_path": "gdb/linespec.c",
      "new_id": "b12f5c8773312065daed905b2bcc30445f747d49",
      "new_mode": 33188,
      "new_path": "gdb/linespec.c"
    },
    {
      "type": "modify",
      "old_id": "bb8975548a3c5e467706a5551fc5425f032ec451",
      "old_mode": 33188,
      "old_path": "gdb/linespec.h",
      "new_id": "9d3e84d19fc0ddcd1d7f04d0e8dd39210853c33c",
      "new_mode": 33188,
      "new_path": "gdb/linespec.h"
    },
    {
      "type": "modify",
      "old_id": "0459980ab8c072de4716e6fed358eae4341b6cce",
      "old_mode": 33188,
      "old_path": "gdb/location.c",
      "new_id": "14a5aebff178d0a831e4e04e2a09c1a9159ea795",
      "new_mode": 33188,
      "new_path": "gdb/location.c"
    },
    {
      "type": "modify",
      "old_id": "ff21c1c21cc3bdc0c3f63b9a12124618c69891af",
      "old_mode": 33188,
      "old_path": "gdb/location.h",
      "new_id": "602998de2987a24978eee1ef1900a1334e1929fe",
      "new_mode": 33188,
      "new_path": "gdb/location.h"
    },
    {
      "type": "modify",
      "old_id": "d4a7562b2813351d996b57a5c42d03e125ee50f8",
      "old_mode": 33188,
      "old_path": "gdb/mi/mi-cmd-break.c",
      "new_id": "dab0a471abce60ee0e5d9600d83916f0d31576f0",
      "new_mode": 33188,
      "new_path": "gdb/mi/mi-cmd-break.c"
    },
    {
      "type": "modify",
      "old_id": "f0a40f5face1317b41ad06c0ed8b9336e32c08fa",
      "old_mode": 33188,
      "old_path": "gdb/probe.c",
      "new_id": "0b056eb88db8ebbcfb9cfe8ae311b738b0d463dd",
      "new_mode": 33188,
      "new_path": "gdb/probe.c"
    },
    {
      "type": "modify",
      "old_id": "5fc4d22a6f421c59a70751e2ebd1d675eb7c8b6b",
      "old_mode": 33188,
      "old_path": "gdb/probe.h",
      "new_id": "fe933154663ee9d81fb6a923de82210b2a8e08b9",
      "new_mode": 33188,
      "new_path": "gdb/probe.h"
    },
    {
      "type": "modify",
      "old_id": "74de0d90e2304b00f9295e9fcc784c053ee644e1",
      "old_mode": 33188,
      "old_path": "gdb/python/py-breakpoint.c",
      "new_id": "029ced741368b7a30b465c9ff252bda8b19ebb2a",
      "new_mode": 33188,
      "new_path": "gdb/python/py-breakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "df54d3643abe7e03802ae390ae4445155ce4d61a",
      "old_mode": 33188,
      "old_path": "gdb/python/py-finishbreakpoint.c",
      "new_id": "c80096f68101cc798f7220385257c6e7d550c40c",
      "new_mode": 33188,
      "new_path": "gdb/python/py-finishbreakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "7faad2bfa35c6518914696ca063b5f1651b8f1d4",
      "old_mode": 33188,
      "old_path": "gdb/python/python.c",
      "new_id": "8f526bba84ec13cacf831330e00b6466f11959e0",
      "new_mode": 33188,
      "new_path": "gdb/python/python.c"
    },
    {
      "type": "modify",
      "old_id": "f41e6ce82c285008723e64953d4b48545007c4a3",
      "old_mode": 33188,
      "old_path": "gdb/remote.c",
      "new_id": "7bcd6e3e3366fa5b775d5baf1ad9ea645350a216",
      "new_mode": 33188,
      "new_path": "gdb/remote.c"
    },
    {
      "type": "modify",
      "old_id": "44d16b55bca64736e9cf98d2eefe8d75e789f245",
      "old_mode": 33188,
      "old_path": "gdb/tracepoint.c",
      "new_id": "75ac0cef3b041eac9edb8d4034da3e150fe4bff9",
      "new_mode": 33188,
      "new_path": "gdb/tracepoint.c"
    }
  ]
}
