This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/18843] gdb/procfs.c:4927:3: error: implicit declaration of function ?make_cleanup_close?


https://sourceware.org/bugzilla/show_bug.cgi?id=18843

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---

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

I think you patch is correct.  Could you please post your patch to
gdb-patches@sourceware.org so that we can approve your patch there?  If you
don't know how to send patches, please take a look at
https://sourceware.org/gdb/wiki/ContributionChecklist.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]