diff options
author | Tom Tromey <tromey@adacore.com> | 2019-12-19 11:35:22 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-01-07 09:16:29 -0700 |
commit | 4212d5091457541bd7e7eff0591805ef7b7333e3 (patch) | |
tree | a46067402a92c52f9a3b0a21689cafe5dbba2312 /gdb/objfiles.h | |
parent | 06a6207a1ab458521656f293bb1ca8fd013d6f7c (diff) | |
download | gdb-4212d5091457541bd7e7eff0591805ef7b7333e3.zip gdb-4212d5091457541bd7e7eff0591805ef7b7333e3.tar.gz gdb-4212d5091457541bd7e7eff0591805ef7b7333e3.tar.bz2 |
Add constructor to stap_static_probe_ops
PR build/24937 concerns an error given by the clang provided by a
particular version of macOS. In particular, it reports
error: default initialization of an object of const type 'const
stap_static_probe_ops' without a user-provided default constructor
Although (at least according to sources I found online) this was
resolved as a bug in the standard, it seemed simple enough to work
around this.
Given that this is a trivial build fix, I think it should go on the
gdb 9 branch as well.
gdb/ChangeLog
2020-01-07 Tom Tromey <tromey@adacore.com>
PR build/24937:
* stap-probe.c (class stap_static_probe_ops): Add constructor.
Change-Id: I18f180c17850f420e9b66afc67f9cb3d8dceb0b3
Diffstat (limited to 'gdb/objfiles.h')
0 files changed, 0 insertions, 0 deletions