Cast to enum bfd_endian in arm_get_next_pcs_read_memory_unsigned_integer
This patch fixes the cxx build broken by commit : d9311bfaf5
.
Pushed as obvious.
gdb/ChangeLog:
* arm-tdep.c (arm_get_next_pcs_read_memory_unsigned_integer): Cast
to enum bfd_endian)
This commit is contained in:
parent
aff9c0f8ab
commit
5f2dfcfdb5
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-12-18 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
||||
|
||||
* arm-tdep.c (arm_get_next_pcs_read_memory_unsigned_integer): Cast
|
||||
to enum bfd_endian)
|
||||
|
||||
2015-12-18 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
||||
|
||||
* Makefile.in (ALL_TARGET_OBS): Append arm-get-next-pcs.o,
|
||||
|
|
|
@ -6127,7 +6127,8 @@ ULONGEST
|
|||
arm_get_next_pcs_read_memory_unsigned_integer (CORE_ADDR memaddr, int len,
|
||||
int byte_order)
|
||||
{
|
||||
return read_memory_unsigned_integer (memaddr, len, byte_order);
|
||||
return read_memory_unsigned_integer (memaddr, len,
|
||||
(enum bfd_endian) byte_order);
|
||||
}
|
||||
|
||||
/* Wrapper over gdbarch_addr_bits_remove for use in arm_get_next_pcs. */
|
||||
|
|
Loading…
Add table
Reference in a new issue