This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH c++ 07/12] Change return type of raw_bkpt_type_to_arm_hwbp_type
- 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:16:03 +0000
- Subject: Re: [PATCH c++ 07/12] Change return type of raw_bkpt_type_to_arm_hwbp_type
- Authentication-results: sourceware.org; auth=none
- References: <1446560804-18858-1-git-send-email-simon dot marchi at ericsson dot com> <1446560804-18858-7-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-arm-low.c: In function âint arm_linux_hw_point_initialize(raw_bkpt_type, CORE_ADDR, int, arm_linux_hw_breakpoint*)â:
> /home/simark/src/binutils-gdb/gdb/gdbserver/linux-arm-low.c:459:55: error: invalid conversion from âintâ to âarm_hwbp_typeâ [-fpermissive]
> hwbp_type = raw_bkpt_type_to_arm_hwbp_type (raw_type);
> ^
>
> gdb/gdbserver/ChangeLog:
>
> * linux-arm-low.c (raw_bkpt_type_to_arm_hwbp_type):
> Change return type to arm_hwbp_type.
OK.
Thanks,
Pedro Alves