diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-20 20:15:21 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-20 22:52:50 +0100 |
commit | d9436c7c71f13df84182371c6b2fb6e356051d14 (patch) | |
tree | a4787fb106ce1bbea2fdfb3113132a9d917c054c /gdb/python/py-exitedevent.c | |
parent | 597e448caf30996be7e4583847da720f8021b20c (diff) | |
download | gdb-d9436c7c71f13df84182371c6b2fb6e356051d14.zip gdb-d9436c7c71f13df84182371c6b2fb6e356051d14.tar.gz gdb-d9436c7c71f13df84182371c6b2fb6e356051d14.tar.bz2 |
Fix "incompatible pointer type" warning in gdb/aarch64-tdep.c
Fixes, with x86_64-apple-darwin15-gcc (gcc 5.3.0):
.../src/gdb/aarch64-tdep.c: In function 'aarch64_record_load_store':
.../src/gdb/aarch64-tdep.c:3479:67: error: passing argument 3 of 'regcache_raw_read_unsigned' from incompatible pointer type [-Werror=incompatible-pointer-types]
bits (aarch64_insn_r->aarch64_insn, 16, 20), ®_rm_val);
^
In file included from .../src/gdb/regcache.h:23:0,
from .../src/gdb/gdbarch.h:69,
from .../src/gdb/defs.h:620,
from .../src/gdb/aarch64-tdep.c:21:
.../src/gdb/common/common-regcache.h:60:29: note: expected 'ULONGEST * {aka long unsigned int *}' but argument is of type 'uint64_t * {aka long long unsigned int *}'
extern enum register_status regcache_raw_read_unsigned
^
gdb/ChangeLog:
2016-04-20 Pedro Alves <palves@redhat.com>
* aarch64-tdep.c (aarch64_record_load_store): Change type of
'reg_rm_val' local to ULONGEST.
Diffstat (limited to 'gdb/python/py-exitedevent.c')
0 files changed, 0 insertions, 0 deletions