• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision231c0592639d6f5c1796feb4a6375eab202a4acb (tree)
l'heure2015-11-19 23:01:04
AuteurYao Qi <yao.qi@lina...>
CommiterYao Qi

Message de Log

Change argument opcode type from enum aarch64_opcodes to uint32_t

The patch fixes the following errors in C++ build,

gdb/gdbserver/linux-aarch64-low.c: In function 'int emit_data_processing(uint32_t*, aarch64_opcodes, aarch64_register, aarch64_register, aarch64_operand)':
gdb/gdbserver/linux-aarch64-low.c:1071:52: error: invalid conversion from 'unsigned int' to 'aarch64_opcodes' [-fpermissive]

return emit_data_processing_reg (buf, opcode | operand_opcode, rd,

gdb/gdbserver:

2015-11-19 Yao Qi <yao.qi@linaro.org>

* linux-aarch64-low.c (emit_data_processing_reg): Change opcode
type to uint32_t.

Change Summary

Modification

--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
11 2015-11-19 Yao Qi <yao.qi@linaro.org>
22
3+ * linux-aarch64-low.c (emit_data_processing_reg): Change opcode
4+ type to uint32_t.
5+
6+2015-11-19 Yao Qi <yao.qi@linaro.org>
7+
38 * linux-aarch64-low.c (enum aarch64_operand_type): New.
49 (struct aarch64_operand): Move enum out.
510
--- a/gdb/gdbserver/linux-aarch64-low.c
+++ b/gdb/gdbserver/linux-aarch64-low.c
@@ -1029,7 +1029,7 @@ emit_stlr (uint32_t *buf, struct aarch64_register rt,
10291029 /* Helper function for data processing instructions with register sources. */
10301030
10311031 static int
1032-emit_data_processing_reg (uint32_t *buf, enum aarch64_opcodes opcode,
1032+emit_data_processing_reg (uint32_t *buf, uint32_t opcode,
10331033 struct aarch64_register rd,
10341034 struct aarch64_register rn,
10351035 struct aarch64_register rm)