From: Andreas Tobler <andreast-list@fgznet.ch>
To: gdb-patches@sourceware.org
Subject: [patch] fix amd64bsd-nat.c compilation
Date: Sun, 11 Mar 2012 15:14:00 -0000 [thread overview]
Message-ID: <4F5CC12B.8080707@fgznet.ch> (raw)
Hi,
the below fixes these warnings:
/export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:170: warning: no
previous prototype for 'amd64bsd_dr_set_control'
/export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:176: warning: no
previous prototype for 'amd64bsd_dr_set_addr'
/export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:184: warning: no
previous prototype for 'amd64bsd_dr_get_addr'
/export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:190: warning: no
previous prototype for 'amd64bsd_dr_get_status'
/export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:196: warning: no
previous prototype for 'amd64bsd_dr_get_control'
gmake[2]: *** [amd64bsd-nat.o] Error 1
Ok to commit?
Thanks,
Andreas
2012-03-11 Andreas Tobler <andreast@fgznet.ch>
* amd64bsd-nat.c: Include amd64bsd-nat.h
Index: amd64bsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64bsd-nat.c,v
retrieving revision 1.20
diff -u -r1.20 amd64bsd-nat.c
--- amd64bsd-nat.c 9 Feb 2012 16:06:44 -0000 1.20
+++ amd64bsd-nat.c 11 Mar 2012 15:05:23 -0000
@@ -31,6 +31,7 @@
#include <machine/reg.h>
#include "amd64-tdep.h"
+#include "amd64bsd-nat.h"
#include "amd64-nat.h"
#include "inf-ptrace.h"
next reply other threads:[~2012-03-11 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 15:14 Andreas Tobler [this message]
2012-03-12 5:02 ` Joel Brobecker
2012-03-12 5:28 ` Andreas Tobler
2012-03-12 7:56 ` Mark Kettenis
2012-03-12 15:23 ` Joel Brobecker
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=4F5CC12B.8080707@fgznet.ch \
--to=andreast-list@fgznet.ch \
--cc=gdb-patches@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