)]}'
{
  "commit": "cb2a1d0aca416235aed885e4796eeb70fbcd3b95",
  "tree": "0555e0c0e226d0db899a6a73c0d58b7b1cd4f737",
  "parents": [
    "d6246a8730fad9edcb972c1f689a13bb16640483"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Dec 30 16:53:51 2022 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Dec 30 16:53:51 2022 +0100"
  },
  "message": "[gdb/testsuite] Fix gdb.threads/dlopen-libpthread.exp for upstream glibc\n\nOn ubuntu 22.04.1 x86_64, I run into:\n...\n(gdb) info probes all rtld rtld_map_complete^M\nNo probes matched.^M\n(gdb) XFAIL: gdb.threads/dlopen-libpthread.exp: info probes all rtld rtld_map_complete\nUNTESTED: gdb.threads/dlopen-libpthread.exp: no matching probes\n...\nThis has been filed as PR testsuite/17016.\n\nThe problem is that the name rtld_map_complete is used, which was only\navailable in Fedora 17, and upstream the name map_complete was used.\n\nIn the email thread discussing a proposed patch (\nhttps://sourceware.org/legacy-ml/gdb-patches/2014-09/msg00712.html ) it was\nsuggested to make the test-case handle both names.\n\nSo, handle both names: map_complete and rtld_map_complete.\n\nThis exposes the following FAIL:\n...\n(gdb) info sharedlibrary^M\nFrom To    Syms Read Shared Object Library^M\n$hex $hex  Yes       /lib64/ld-linux-x86-64.so.2^M\n$hex $hex  Yes (*)   /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0^M\n$hex $hex  Yes       /lib/x86_64-linux-gnu/libc.so.6^M\n$hex $hex  Yes       /lib/x86_64-linux-gnu/libdl.so.2^M\n$hex $hex  Yes       /lib/x86_64-linux-gnu/libpthread.so.0^M\n(*): Shared library is missing debugging information.^M\n(gdb) FAIL: gdb.threads/dlopen-libpthread.exp: libpthread.so not found\n...\ndue to using a glibc (v2.35) that has libpthread integrated into libc.\n\nFix this by changing the FAIL into UNSUPPORTED.\n\nTested on x86_64-linux.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d17016\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c3d8a34c30d3c9ee43b206949a7f73ed65673bf",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/dlopen-libpthread.exp",
      "new_id": "dcc48260e88abfa29a5415330dcca561986a0183",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/dlopen-libpthread.exp"
    }
  ]
}
