aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2015-10-22 09:46:32 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-10-22 09:47:47 -0400
commit60905b1e2a5fbd734bfd026cd77b9641cc5f3e66 (patch)
treebfc70e3c9f60fef4e40fe67a5fb3f5e6b10f4be5 /gdb/ChangeLog
parent5af9928d44e302b7f68365a0c551f640895366ff (diff)
downloadgdb-60905b1e2a5fbd734bfd026cd77b9641cc5f3e66.zip
gdb-60905b1e2a5fbd734bfd026cd77b9641cc5f3e66.tar.gz
gdb-60905b1e2a5fbd734bfd026cd77b9641cc5f3e66.tar.bz2
xtensa: Fix implicit enum conversions
XTREG is used with raw numbers, like: ... XTREG( 78,312,32, 4, 4,0x02d7,0x0007,-2, 2,0x1000,excsave7, 0,0,0,0,0,0) XTREG( 79,316, 8, 4, 4,0x02e0,0x0007,-2, 2,0x1000,cpenable, 0,0,0,0,0,0) XTREG( 80,320,22, 4, 4,0x02e2,0x000b,-2, 2,0x1000,interrupt, 0,0,0,0,0,0) XTREG( 81,324,22, 4, 4,0x02e2,0x000d,-2, 2,0x1000,intset, 0,0,0,0,0,0) ... So just add the explicit cast to the macro. In file included from /home/pedro/gdb/mygit/src/gdb/xtensa-config.c:25:0: /home/pedro/gdb/mygit/src/gdb/xtensa-tdep.h:289:2: error: invalid conversion from ‘int’ to ‘call_abi_t’ [-fpermissive] } ^ gdb/ChangeLog: * xtensa-tdep.h (XTREG): Add casts. (XTREG_END): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6fefc63..0df8246 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2015-10-22 Simon Marchi <simon.marchi@polymtl.ca>
+ * xtensa-tdep.h (XTREG): Add casts.
+ (XTREG_END): Likewise.
+
+2015-10-22 Simon Marchi <simon.marchi@polymtl.ca>
+
* solib-spu.c (spu_bfd_iovec_pread): Add (gdb_byte *) cast.
2015-10-22 Simon Marchi <simon.marchi@polymtl.ca>