bug in hal_if.c

Enrico Piria epiria@libero.it
Wed Apr 27 09:50:00 GMT 2005


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.

Enrico Piria





____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hal_if.patch
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20050427/dd1543f2/attachment.ksh>


More information about the Ecos-patches mailing list