bugfix gdb5.0/insight5.0
Grant Edwards
grante@visi.com
Fri Dec 7 06:38:00 GMT 2001
On Fri, Dec 07, 2001 at 10:21:30AM +0100, Jan Van Belle wrote:
> for those compiling for target arm-elf, I have a small bugfix at
> compile-time.
>
> remove: struct tm lt;
>
> in two functions. (openLog() and closeLog() or something. It are the
> first two functions in the file).
>
> in file: xxx/xxx5.0/gdb/rdi-share/devsw.c
>
> Otherwise I got: struct tm : size not known.
> struct tm is declared in the two functions but not called in any way...
I see time.h was included a while back to get rid of the
warning, but it looks like Mr. Van Belle is right, the stuct is
never used, so both the declaration and the include of time.h
should be removed.
--
Grant Edwards
grante@visi.com
More information about the Gdb
mailing list