[windows mingw]gdb cvs head build error in windows-nat.c
Eli Zaretskii
eliz@gnu.org
Fri Dec 16 14:30:00 GMT 2011
> Date: Fri, 16 Dec 2011 22:21:24 +0800
> From: asmwarrior <asmwarrior@gmail.com>
>
> ../../gdb/gdb/windows-nat.c: In function 'init_windows_ops':
> ../../gdb/gdb/windows-nat.c:2517:26: error: 'cygwin_get_dr' undeclared (first us
> e in this function)
> ../../gdb/gdb/windows-nat.c:2517:26: note: each undeclared identifier is reporte
> d only once for each function it appears in
> ../../gdb/gdb/windows-nat.c:2519:29: error: 'cygwin_get_dr7' undeclared (first u
> se in this function)
> cc1.exe: warnings being treated as errors
> ../../gdb/gdb/windows-nat.c: At top level:
> ../../gdb/gdb/windows-nat.c:2654:1: error: 'cygwin_get_dr' defined but not used
> ../../gdb/gdb/windows-nat.c:2673:1: error: 'cygwin_get_dr7' defined but not used
> [...]
> any ideas?
An idea: actually implement cygwin_set_dr7 ;-)
As for cygwin_get_dr, add a prototype before the first use.
More information about the Gdb
mailing list