This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: bug in hal_if.c
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Enrico Piria <epiria at libero dot it>
- Cc: ecos-patches <ecos-patches at sourceware dot org>
- Date: Wed, 27 Apr 2005 21:08:51 +0200
- Subject: Re: bug in hal_if.c
- References: <IFLN7Y$4282DDC4463639C55AF63E91F235337C@libero.it>
On Wed, Apr 27, 2005 at 11:47:58AM +0200, Enrico Piria wrote:
> I found a bug in the file hal_if.c contained in the common HAL.
> In the routine cyg_hal_diag_mangler_gdb_flush, if macro
> CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES
> is not equal to 0, variable "tries" is used without having been defined.
>
> In the routine cyg_hal_diag_mangler_gdb_putc, if macro
> CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES
> is not equal to 0, variable "tries" is defined but never used.
Thanks
Committed,
Andrew