diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-11-19 14:32:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-19 14:32:53 +0000 |
commit | 4d1931791d0aca95ce82d5391f03b31613d9173b (patch) | |
tree | 94a29046e710d68ecdf04ba82967331cf83ee025 /gdb/ChangeLog | |
parent | f8708a14262c9abe0a6823de4470f5710374fe40 (diff) | |
download | gdb-4d1931791d0aca95ce82d5391f03b31613d9173b.zip gdb-4d1931791d0aca95ce82d5391f03b31613d9173b.tar.gz gdb-4d1931791d0aca95ce82d5391f03b31613d9173b.tar.bz2 |
[C++] s390: Fix enum gdb_syscall conversion
Fixes:
src/gdb/s390-linux-tdep.c: In function ‘gdb_syscall s390_canonicalize_syscall(int, s390_abi_kind)’:
src/gdb/s390-linux-tdep.c:2622:16: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall;
^
src/gdb/s390-linux-tdep.c:2722:16: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall;
^
src/gdb/s390-linux-tdep.c:2725:24: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall + 2;
^
src/gdb/s390-linux-tdep.c:2728:24: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall + 5;
^
src/gdb/s390-linux-tdep.c:2731:24: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall + 6;
^
src/gdb/s390-linux-tdep.c:2734:24: error: invalid conversion from ‘int’ to ‘gdb_syscall’ [-fpermissive]
return syscall + 7;
^
gdb/ChangeLog:
2015-11-19 Simon Marchi <simon.marchi@ericsson.com>
Pedro Alves <palves@redhat.com>
* s390-linux-tdep.c (s390_canonicalize_syscall): Add casts and
intermediate 'int' variable.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 223b860..4d799d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-11-19 Simon Marchi <simon.marchi@ericsson.com> + Pedro Alves <palves@redhat.com> + + * s390-linux-tdep.c (s390_canonicalize_syscall): Add casts and + intermediate 'int' variable. + 2015-11-19 Pedro Alves <palves@redhat.com> * linux-thread-db.c (try_thread_db_load_1): Add cast. |