This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH c++ 09/12] linux-mips-low.c: Fix type of mips_add_watchpoint parameter
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>
- Date: Tue, 03 Nov 2015 16:17:11 +0000
- Subject: Re: [PATCH c++ 09/12] linux-mips-low.c: Fix type of mips_add_watchpoint parameter
- Authentication-results: sourceware.org; auth=none
- References: <1446560804-18858-1-git-send-email-simon dot marchi at ericsson dot com> <1446560804-18858-9-git-send-email-simon dot marchi at ericsson dot com>
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