Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: [windows mingw]gdb cvs head build error in windows-nat.c
Date: Fri, 16 Dec 2011 14:30:00 -0000	[thread overview]
Message-ID: <83mxas1tei.fsf@gnu.org> (raw)
In-Reply-To: <4EEB53E4.3070207@gmail.com>

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


  parent reply	other threads:[~2011-12-16 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16 14:17 asmwarrior
2011-12-16 14:30 ` asmwarrior
2011-12-16 15:17   ` Pierre Muller
2011-12-16 16:16     ` Pedro Alves
2011-12-16 17:16     ` Pierre Muller
2011-12-16 17:26       ` Pedro Alves
2011-12-16 19:58         ` Pierre Muller
2011-12-16 14:30 ` Eli Zaretskii [this message]
2011-12-16 14:35   ` asmwarrior
2011-12-16 14:51   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mxas1tei.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=asmwarrior@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox