diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-03-31 23:29:08 +0200 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-03-31 23:38:03 +0200 |
commit | 252db07e1d4c5733b91a53b9fe4881b873eae049 (patch) | |
tree | 8434da595255dd5a8fffad6b53559f0366a0e94d /gas/messages.c | |
parent | 64cdf930d9ed85e93ae55adbc20b0f9848ef863b (diff) | |
download | binutils-252db07e1d4c5733b91a53b9fe4881b873eae049.zip binutils-252db07e1d4c5733b91a53b9fe4881b873eae049.tar.gz binutils-252db07e1d4c5733b91a53b9fe4881b873eae049.tar.bz2 |
gdbserver: Fix C++ build errors in tracepoint.c
These were introduced by 1cda1512689aabb36588a01370002632a0c8e560
and a13c46966d308297a1273e35ccc807a3912d573d . One is a simple
missing cast, the other is const usage on global function pointers
exported from IPA: in C++, consts are static, and thus won't be
exported from the DSO (the build error was because of non-applicable
visibility("default")).
gdb/gdbserver/ChangeLog:
* tracepoint.c (gdb_collect_ptr): Remove const qualifier.
(get_raw_reg_ptr): Likewise.
(get_trace_state_variable_value_ptr): Likewise.
(set_trace_state_variable_value_ptr): Likewise.
(initialize_tracepoint): Cast alloc_jump_pad_buffer result to
char *.
Diffstat (limited to 'gas/messages.c')
0 files changed, 0 insertions, 0 deletions