This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] s390-nat.c: Fix missing prototypes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Andreas Arnez <arnez at vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 5 Mar 2012 11:06:42 -0800
- Subject: Re: [PATCH] s390-nat.c: Fix missing prototypes
- References: <8762ejrlqv.fsf@vnet.ibm.com>
> Tested on s390x-ibm-linux with no regressions, fixes a
> -Wmissing-prototypes build failure.
>
> gdb/
> 2012-03-05 Andreas Arnez <arnez@linux.vnet.ibm.com>
>
> * s390-nat.c: Include "gregset.h".
Thanks! Attached is what I committed for you. I dropped the comment,
since I felt it was completely redundant.
--
Joel
>From 1063f42f816c3877e5e0ebdcd4500a7ec0c2820f Mon Sep 17 00:00:00 2001
From: Joel Brobecker <brobecker@adacore.com>
Date: Mon, 5 Mar 2012 11:04:04 -0800
Subject: [PATCH] Include "gregset.h" in s390-nat.c (-Wmissing-prototypes).
gdb/ChangeLog:
* s390-nat.c: Include "gregset.h".
---
gdb/ChangeLog | 5 +++++
gdb/s390-nat.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2da944d..c2d0c59 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-05 Joel Brobecker <brobecker@adacore.com>
+
+ From Andreas Arnez <arnez@linux.vnet.ibm.com>:
+ * s390-nat.c: Include "gregset.h".
+
2012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 2755e58..bad1b43 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -26,6 +26,7 @@
#include "target.h"
#include "linux-nat.h"
#include "auxv.h"
+#include "gregset.h"
#include "s390-tdep.h"
#include "elf/common.h"
--
1.7.1