This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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]

bug in hal_if.c


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

Attachment: hal_if.patch
Description: Text document


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