diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-12-21 21:33:58 -0800 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-12-22 21:10:36 -0800 |
commit | 576d2c97d8de26d1ab5a2058e8ba4ffd00b8096d (patch) | |
tree | 9d01f0d38d3ec2242948284726ded3d640fb4bcf /sim/mn10300 | |
parent | 62544b0cf1b428fb86f01f56783437bd78f9097c (diff) | |
download | gdb-576d2c97d8de26d1ab5a2058e8ba4ffd00b8096d.zip gdb-576d2c97d8de26d1ab5a2058e8ba4ffd00b8096d.tar.gz gdb-576d2c97d8de26d1ab5a2058e8ba4ffd00b8096d.tar.bz2 |
gprofng: fix build problems on linux-musl
ino64_t, off64_t, fpos64_t, stat64, __u64 are not defined on linux-musl.
Fixed by declaring these types for linux-musl.
2023-12-21 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/30779
PR gprofng/29593
* common/gp-defs.h: Define ino64_t, off64_t, fpos64_t for linux-musl.
* libcollector/unwind.c: Define __u64 for linux-musl.
* src/util.h: Define dbe_stat_t.
* src/ClassFile.cc: Use dbe_stat_t instead of "struct stat64".
* src/Dbe.cc: Likewise.
* src/DbeFile.cc: Likewise.
* src/DbeFile.h: Likewise.
* src/DbeSession.cc: Likewise.
* src/Experiment.cc: Likewise.
* src/checks.cc: Likewise.
* src/util.cc: Likewise.
Diffstat (limited to 'sim/mn10300')
0 files changed, 0 insertions, 0 deletions