]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl_stacktrace: fix non-Linux build dep on PERF_SAMPLE_REGS_ABI users/serhei/eu-stacktrace
authorSerhei Makarov <serhei@serhei.io>
Mon, 8 Sep 2025 16:10:54 +0000 (12:10 -0400)
committerSerhei Makarov <serhei@serhei.io>
Mon, 8 Sep 2025 16:12:34 +0000 (12:12 -0400)
commit9172a7aba1ad737fba0c30cd7a50f7764f213b99
tree54808581440b0b855a1d1c84344a6a4b1d847c0f
parentc6cd44353a5ec35593c731ed5822a6eabca18d16
libdwfl_stacktrace: fix non-Linux build dep on PERF_SAMPLE_REGS_ABI

Reported on a GNU Hurd build of elfutils. This is a quick fix pending
my more complex patch to reduce dependency on linux perf concepts for
the libdwfl_stacktrace code.

* libdwfl_stacktrace/dwflst_perf_frame.c (perf_sample_regs_abi):
  Define this Linux enum on non-Linux platforms.
libdwfl_stacktrace/dwflst_perf_frame.c