This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH c++ 09/12] linux-mips-low.c: Fix type of mips_add_watchpoint parameter


On 11/03/2015 02:26 PM, Simon Marchi wrote:
> From: Simon Marchi <simon.marchi@polymtl.ca>
> 
> Fixes
> 
> /home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c: In function âvoid mips_add_watchpoint(arch_process_info*, CORE_ADDR, int, int)â:
> /home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c:368:19: error: invalid conversion from âintâ to âtarget_hw_bp_typeâ [-fpermissive]
>    new_watch->type = watch_type;
>                    ^
> 
> gdb/gdbserver/ChangeLog:
> 
> 	* linux-mips-low.c (mips_linux_new_thread): Change type of
> 	watch_type to enum target_hw_bp_type.

OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]