Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] fix amd64bsd-nat.c compilation
@ 2012-03-11 15:14 Andreas Tobler
  2012-03-12  5:02 ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Tobler @ 2012-03-11 15:14 UTC (permalink / raw)
  To: gdb-patches

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"



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-12 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-11 15:14 [patch] fix amd64bsd-nat.c compilation Andreas Tobler
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox