)]}'
{
  "commit": "2ae9b1b2d7e5feb0fd734f91250fc5dd187767a5",
  "tree": "073bd7fe933072371687ff1df06283c85728562c",
  "parents": [
    "967dc35c78adb85ee1e2e596047d9dc69107a9db"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Oct 09 11:17:41 2024 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Oct 09 11:17:41 2024 +0200"
  },
  "message": "[gdb/testsuite] Fix gdb.base/reggroups.exp with check-read1\n\nOn aarch64-linux, with make target check-read1, I run into:\n...\n(gdb) info reg vector^M\n  ...\nd19            {f \u003d 0x0, u \u003d 0x0, s \u003d 0x0} {f \u003dFAIL: gdb.base/reggroups.exp: fetch reggroup regs vector (timeout)\n 0, u \u003d 0, s \u003d 0}^M\n...\n\nThe problem is that while (as documented) the corresponding gdb_test_multiple\ndoesn\u0027t work for vector registers, it doesn\u0027t skip them either.  This causes\nthe timeout, and it also causes the registers after a vector register not to\nbe found.\n\nFix this by using -lbl style matching.\n\nMake which reggroups and registers are found more explicit using verbose -log,\nwhich makes us notice that regnames with underscores are skipped, so fix that\nas well.\n\nWhile we\u0027re at it, this:\n...\nset invalid_register_re \"Invalid register .*\"\n...\nand this:\n...\n       -re $invalid_register_re {\n           fail \"$test (unexpected invalid register response)\"\n       }\n...\nmeans that the prompt may or may not be consumed.  Fix this by limiting the\nregexp to one line, and using exp_continue.\n\nWhile we\u0027re at it, improve readability of the complex regexp matching a single\nregister by factoring out regexps.\n\nTested on aarch64-linux and x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f96153b9368a61a9dfa30685f251457bc8bf6613",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/reggroups.exp",
      "new_id": "56c00e588311fe2faedd440c1e614a7d6dafe7de",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/reggroups.exp"
    }
  ]
}
