)]}'
{
  "commit": "b55b65bc56604e45fae38dea9a22eeb3ffa2b33e",
  "tree": "be8f6130019acf739a315bcd0777705e5b8195b1",
  "parents": [
    "5cca20f614694ba6af3c10ca5bb93c32cdb9522b"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 29 07:31:12 2024 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 29 07:31:12 2024 +0200"
  },
  "message": "[gdb/testsuite] Fix regexp in gdb.arch/i386-disp-step-self-call.exp\n\nUsually, with test-case gdb.arch/i386-disp-step-self-call.exp I get:\n...\n(gdb) x/1wx 0xffffc4f8^M\n0xffffc4f8:     0x08048472^M\n(gdb) PASS: $exp: check return address was updated correctly\n...\nbut sometimes I run into:\n...\n(gdb) x/1wx 0xffffc5c8^M\n0xffffc5c8:     0x0804917e^M\n(gdb) FAIL: $exp: check return address was updated correctly\n...\n\nThe problem is that here:\n...\nset next_insn_addr 0x[format %08X $next_insn_addr]\ngdb_test \"x/1wx 0x[format %x $sp]\" \"$hex:\\\\s+$next_insn_addr\" \\\n    \"check return address was updated correctly\"\n...\nwe\u0027re trying to match string 0x0804917e against regexp 0x0804917E due to using\n\"%08X\" as format string.\n\nWe only run into this problem if the address contains letters, which apparently\nusually isn\u0027t the case.\n\nFix this by using \"%08x\" instead as format string.\n\nLikewise in test-case gdb.arch/amd64-disp-step-self-call.exp.\n\nTested on x86_64-linux.\n\nPR testsuite/32121\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d32121\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "762d19a2960ff4436a20fe87152e2db0a4469d27",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.arch/amd64-disp-step-self-call.exp",
      "new_id": "2db3ff228c951e77b3fd206e0155a2247256b1c2",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.arch/amd64-disp-step-self-call.exp"
    },
    {
      "type": "modify",
      "old_id": "b2cb902f8edb1f351ec000b962f64c746bced2a1",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.arch/i386-disp-step-self-call.exp",
      "new_id": "5de7ebcd69f062d676c897c9a69480875a5b1b56",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.arch/i386-disp-step-self-call.exp"
    }
  ]
}
