This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Re: [windows mingw]gdb cvs head build error in windows-nat.c


> 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.


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