diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-04-24 02:52:00 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-04-24 03:01:21 +0000 |
commit | 1a7f925ea20c82fc9899f41d21df8e21dcae3169 (patch) | |
tree | ddb17bac1d13330ab5bf8c34c003390eff802529 /etc | |
parent | bfe6fb329a1921624a93d768d2bafafeb2c31aec (diff) | |
download | gdb-1a7f925ea20c82fc9899f41d21df8e21dcae3169.zip gdb-1a7f925ea20c82fc9899f41d21df8e21dcae3169.tar.gz gdb-1a7f925ea20c82fc9899f41d21df8e21dcae3169.tar.bz2 |
gdb: include extract-store-integer.h in charset.c when PHONY_ICONV
When building on a system where "phony iconv" is used (NetBSD in this
case, not sure why), I get:
CXX charset.o
/home/smarchi/src/binutils-gdb/gdb/charset.c: In function 'size_t phony_iconv(int, const char**, size_t*, char**, size_t*)':
/home/smarchi/src/binutils-gdb/gdb/charset.c:140:8: error: 'extract_unsigned_integer' was not declared in this scope
= extract_unsigned_integer ((const gdb_byte *)*inbuf, 4, endian);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/smarchi/src/binutils-gdb/gdb/charset.c:140:8: note: suggested alternative: 'btrace_insn_number'
= extract_unsigned_integer ((const gdb_byte *)*inbuf, 4, endian);
^~~~~~~~~~~~~~~~~~~~~~~~
btrace_insn_number
Add the necessary include.
Change-Id: I10b967584645961c86167a8395d88929a42bef03
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions