)]}'
{
  "commit": "7ff4111cdee7eedbe083918f34774e1487ece557",
  "tree": "7b48b3a9937094ce857698a399446465a31f9b62",
  "parents": [
    "0759c1bc9f0eb096ac5a04ce4abb1510e9963fbb"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Jan 25 16:25:07 2024 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Jan 25 16:25:07 2024 +0100"
  },
  "message": "[gdb/testsuite] Fix gdb.base/eh_return.exp\n\nOn Fedora rawhide aarch64, I run into:\n...\n(gdb) PASS: gdb.base/eh_return.exp: set breakpoint on address\nrun ^M\nStarting program: eh_return ^M\n[Thread debugging using libthread_db enabled]^M\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".^M\n[Inferior 1 (process 1113051) exited normally]^M\n(gdb) FAIL: gdb.base/eh_return.exp: hit breakpoint (the program exited)\n...\n\nThis happens as follows: the test-case sets a breakpoint on the last\ninstruction of function eh2:\n...\n(gdb) break *0x00000000004103ec^M\n...\nand expects to hit the breakpoint, but instead the \"br x6\" is taken:\n...\n   0x00000000004103e0 \u003c+176\u003e:   cbz     x4, 0x4103ec \u003ceh2+188\u003e^M\n   0x00000000004103e4 \u003c+180\u003e:   add     sp, sp, x5^M\n   0x00000000004103e8 \u003c+184\u003e:   br      x6^M\n   0x00000000004103ec \u003c+188\u003e:   ret^M\n...\n\nIn contrast, with fedora f39 we have:\n...\n   0x00000000004103bc \u003c+156\u003e:   ldp     x2, x3, [sp, #48]^M\n   0x00000000004103c0 \u003c+160\u003e:   ldp     x29, x30, [sp, #16]^M\n   0x00000000004103c4 \u003c+164\u003e:   add     sp, sp, #0x50^M\n   0x00000000004103c8 \u003c+168\u003e:   add     sp, sp, x4^M\n   0x00000000004103cc \u003c+172\u003e:   ret^M\n\n...\nand the breakpoint is reached.\n\nFix this by detecting that the breakpoint is not hit, and declaring the test\nunsupported.\n\nTested on aarch64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\nPR testsuite/31291\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31291\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b055058066bf57b9451c1b4cea644c2e1bea17e1",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/eh_return.exp",
      "new_id": "9fefc890b283ac8f35ff97d0fb831d4d8d16efc6",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/eh_return.exp"
    }
  ]
}
