)]}'
{
  "commit": "446fcb446f57dbb33728c3dbd5f092bca3ba3547",
  "tree": "96b019204ce93ee7ab663b235543c80e5d946ac6",
  "parents": [
    "225170409b47bc96b62b2ecfcc0d9d5ae1ef8949"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Apr 21 07:28:56 2022 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Fri Apr 29 13:16:44 2022 -0600"
  },
  "message": "Fix .debug_names regression with new indexer\n\nAt AdaCore, we run the internal gdb test suite in several modes,\nincluding one using the .debug_names index.  This caught a regression\ncaused by the new DWARF indexer.\n\nFirst, the psymtabs-based .debug_names generator was completely wrong.\nHowever, to avoid making the rewrite series even bigger (fixing the\nwriter will also require rewriting the .debug_names reader), it\nattempted to preserve the weirdness.\n\nHowever, this was not done properly.  For example the old writer did\nthis:\n\n-      case STRUCT_DOMAIN:\n-\treturn DW_TAG_structure_type;\n\nThe new code, instead, simply preserves the actual DWARF tag -- but\nthis makes future lookups fail, because the .debug_names reader only\nlooks for DW_TAG_structure_type.\n\nThis patch attempts to revert to the old behavior in the writer.\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e1ff05645c54abdba37a6f0d4ccc1a67a9dfa015",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/cooked-index.h",
      "new_id": "21bda8698c1eb4c70c7e9ae073b56fb444346f89",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/cooked-index.h"
    },
    {
      "type": "modify",
      "old_id": "3d1c78d4459a1baab7d1dcecb2260b81b862d452",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/index-write.c",
      "new_id": "e27c2b5fdddef2159f52b8eec548a27ac1d85bd0",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/index-write.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "735a6d581be8bac9bc8aa786929c130bd98b7f9b",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/tag.h"
    }
  ]
}
