)]}'
{
  "commit": "f037ec99fa1e1e3b3dab77ce4ec7b4924e8ed1fc",
  "tree": "da0eae89e6b174164a0506222bbbe5bef3573265",
  "parents": [
    "986e397e3a42f114c8dd81f544782f040210dac2"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Tue Apr 28 15:57:26 2026 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Tue Apr 28 15:57:26 2026 +0200"
  },
  "message": "[gdb/breakpoints] Don\u0027t ignore \u003cfile\u003e in rbreak \u003cfile\u003e:\u003cregexp\u003e\n\nPR breakpoints/34112 reports that \"rbreak \u003cfile\u003e:\u003cregexp\u003e\" sets breakpoints in\nfiles other than \u003cfile\u003e.\n\nThis is a regression since commit c4c093a31f6 (\"Make\nglobal_symbol_searcher::filenames private\"), which did:\n...\n   if (file_name !\u003d nullptr)\n-    spec.filenames.push_back (file_name);\n+    spec.add_filename (std::move (file_name));\n...\n\nThe std::move nullifies file_name, so a subsequent file_name check:\n...\n\t  if (file_name !\u003d nullptr)\n...\nnow always evaluates to false.\n\nFix this by:\n- introducing a variable bool file_name_p, initialized before the\n  std::move, and\n- using that instead.\n\nTested on x86_64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d34112\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "357b8e63b19e9f1b0cb8b67c7d747bd6574b60c9",
      "old_mode": 33188,
      "old_path": "gdb/symtab.c",
      "new_id": "3c10e1fd750652dfb19a50e3b8bca2280ac3b506",
      "new_mode": 33188,
      "new_path": "gdb/symtab.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f0d30df2f3cb4b1c763b81ed037629f6d8cfa7fe",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/rbreak-2.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9df951f3397e25de618a7415e581dc227324119b",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/rbreak.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "16c7e83cd494a8f894e6be9a31acfd9f6072767d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/rbreak.exp"
    }
  ]
}
