)]}'
{
  "commit": "162e5c93df8ee975d6dfce122daa244bd628d920",
  "tree": "a4f9e9e9258eef1483a299300bc436a5f36c63b0",
  "parents": [
    "a2e58247ae85f16c76d843be5b2662ad6031fce4"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Jan 21 16:43:07 2026 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Jan 21 16:43:07 2026 +0100"
  },
  "message": "[gdb] Ignore .sframe section in dtrace_static_probe_ops::get_probes\n\nOn aarch64-linux (Debian testing), with test-case gdb.base/fission-macro.exp I\nrun into:\n...\n(gdb) set complaints 5^M\n(gdb) file fission-macro-v4-b32-s0^M\nReading symbols from fission-macro-v4-b32-s0...^M\nDuring symbol reading: \\\n  skipping section \u0027.sframe\u0027 which does not contain valid DOF data.^M\n(gdb) FAIL: $exp: lang\u003dc: dwarf_version\u003d4: dwarf_bits\u003d32: strict_dwarf\u003d0: \\\n  No complaints\n...\n\nThe problem is that there\u0027s an overlap between:\n...\n./include/elf/common.h:#define SHT_SUNW_dof                 0x6ffffff4\n...\nand:\n...\n./include/elf/common.h:#define SHT_GNU_SFRAME\t\t     0x6ffffff4\n...\n\nSo when dtrace_static_probe_ops::get_probes tries reading an SHT_SUNW_dof\nsection, it fails to read the corresponding magic number and bails with this\ncomplaint:\n...\nDuring symbol reading: \\\n  skipping section \u0027.sframe\u0027 which does not contain valid DOF data.^M\n...\n\nBut the section actually being read is not an SHT_SUNW_dof section, but an\nSHT_GNU_SFRAME section:\n...\n[Nr] Name      Type            Address          Off    Size   ES Flg Lk Inf Al\n[17] .sframe   GNU_SFRAME      00000000000008f0 0008f0 000035 00   A  0   0  8\n...\n\nFix this by checking for the section name .sframe in\ndtrace_static_probe_ops::get_probes.\n\nTested on aarch64-linux.\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d33813\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee9d0d4e5685ebdf2aa9c8c4eac3cfc6b6fc9494",
      "old_mode": 33188,
      "old_path": "gdb/dtrace-probe.c",
      "new_id": "b42afea5a173be48b13dd1fde0c47c5169c558c9",
      "new_mode": 33188,
      "new_path": "gdb/dtrace-probe.c"
    }
  ]
}
