* [PATCH] procfs.c: Include "filestuff.h"
@ 2015-08-18 18:08 Marcin Cieslak
2015-08-19 7:54 ` Yao Qi
0 siblings, 1 reply; 5+ messages in thread
From: Marcin Cieslak @ 2015-08-18 18:08 UTC (permalink / raw)
To: gdb-patches
Fixes implicit function declaration
error in procfs.c:4927 about undeclared
make_cleanup_close().
gdb/ChangeLog:
PR gdb/18843
* procfs.c: Include "filestuff.h"
---
gdb/ChangeLog | 5 +++++
gdb/procfs.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4af881e..edb4d88 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-18 Marcin CieÂślak <saper@saper.info>
+
+ PR gdb/18843
+ * procfs.c: Include "filestuff.h"
+
2015-08-18 Sandra Loosemore <sandra@codesourcery.com>
* remote.c (strprefix): New.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 42f1403..3d4f7be 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -30,6 +30,7 @@
#include "gdbthread.h"
#include "regcache.h"
#include "inf-child.h"
+#include "filestuff.h"
#if defined (NEW_PROC_API)
#define _STRUCTURED_PROC 1 /* Should be done by configure script. */
--
2.5.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] procfs.c: Include "filestuff.h"
2015-08-18 18:08 [PATCH] procfs.c: Include "filestuff.h" Marcin Cieslak
@ 2015-08-19 7:54 ` Yao Qi
2015-08-19 16:51 ` Marcin Cieslak
2015-08-19 16:52 ` Marcin Cieslak
0 siblings, 2 replies; 5+ messages in thread
From: Yao Qi @ 2015-08-19 7:54 UTC (permalink / raw)
To: Marcin Cieslak; +Cc: gdb-patches
Marcin Cieslak <saper@saper.info> writes:
> Fixes implicit function declaration
> error in procfs.c:4927 about undeclared
> make_cleanup_close().
>
> gdb/ChangeLog:
>
> PR gdb/18843
Nit: it should be "PR build/18843".
> * procfs.c: Include "filestuff.h"
It is a sentence so should be ended with ".".
Otherwise, patch is OK to me. You can push it in or I can push it in in
case you don't have write access to git repository.
--
Yao (齐尧)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] procfs.c: Include "filestuff.h"
2015-08-19 7:54 ` Yao Qi
@ 2015-08-19 16:51 ` Marcin Cieslak
2015-08-19 16:52 ` Marcin Cieslak
1 sibling, 0 replies; 5+ messages in thread
From: Marcin Cieslak @ 2015-08-19 16:51 UTC (permalink / raw)
To: Yao Qi; +Cc: gdb-patches
Fixes implicit function declaration
error in gdb/procfs.c:4927 about undeclared
make_cleanup_close().
gdb/ChangeLog:
PR build/18843
* procfs.c: Include "filestuff.h".
---
gdb/ChangeLog | 5 +++++
gdb/procfs.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4af881e..ec3519a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-18 Marcin CieÂślak <saper@saper.info>
+
+ PR build/18843
+ * procfs.c: Include "filestuff.h".
+
2015-08-18 Sandra Loosemore <sandra@codesourcery.com>
* remote.c (strprefix): New.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 42f1403..3d4f7be 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -30,6 +30,7 @@
#include "gdbthread.h"
#include "regcache.h"
#include "inf-child.h"
+#include "filestuff.h"
#if defined (NEW_PROC_API)
#define _STRUCTURED_PROC 1 /* Should be done by configure script. */
--
1.6.2.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] procfs.c: Include "filestuff.h"
2015-08-19 7:54 ` Yao Qi
2015-08-19 16:51 ` Marcin Cieslak
@ 2015-08-19 16:52 ` Marcin Cieslak
2015-08-21 8:21 ` Yao Qi
1 sibling, 1 reply; 5+ messages in thread
From: Marcin Cieslak @ 2015-08-19 16:52 UTC (permalink / raw)
To: Yao Qi; +Cc: gdb-patches
On Wed, 19 Aug 2015, Yao Qi wrote:
> Otherwise, patch is OK to me. You can push it in or I can push it in in
> case you don't have write access to git repository.
Nits should be fixed. It is my first contribution to gdb ever,
so I doubt I have a write access anywhere :)
~Marcin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] procfs.c: Include "filestuff.h"
2015-08-19 16:52 ` Marcin Cieslak
@ 2015-08-21 8:21 ` Yao Qi
0 siblings, 0 replies; 5+ messages in thread
From: Yao Qi @ 2015-08-21 8:21 UTC (permalink / raw)
To: Marcin Cieslak; +Cc: Yao Qi, gdb-patches
Marcin Cieslak <saper@saper.info> writes:
> Nits should be fixed. It is my first contribution to gdb ever,
> so I doubt I have a write access anywhere :)
Thanks. I pushed your patch in to both master and 7.10 branch.
--
Yao (齐尧)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-21 8:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18 18:08 [PATCH] procfs.c: Include "filestuff.h" Marcin Cieslak
2015-08-19 7:54 ` Yao Qi
2015-08-19 16:51 ` Marcin Cieslak
2015-08-19 16:52 ` Marcin Cieslak
2015-08-21 8:21 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox