[PATCH] arm-tdep.c: Change type of insn parameters

Yao Qi qiyaoltc@gmail.com
Thu Feb 11 10:58:00 GMT 2016


Simon Marchi <simon.marchi@ericsson.com> writes:

>  /* Copy 16-bit Thumb(Thumb and 16-bit Thumb-2) instruction without any
>     modification.  */
>  static int
> -thumb_copy_unmodified_16bit (struct gdbarch *gdbarch, unsigned int insn,
> +thumb_copy_unmodified_16bit (struct gdbarch *gdbarch, uint32_t insn,
>  			     const char *iname,
>  			     struct displaced_step_closure *dsc)

The instruction here is 16-bit, so we should use "uint16_t".

OK with the change.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list