public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: include gdbsupport/buildargv.h in ser-mingw.c
@ 2022-01-21 16:35 Simon Marchi
0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2022-01-21 16:35 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ed09c325ec7f9d7784025185b181d3a9d884ecb8
commit ed09c325ec7f9d7784025185b181d3a9d884ecb8
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Fri Jan 21 11:33:29 2022 -0500
gdb: include gdbsupport/buildargv.h in ser-mingw.c
Fixes:
CXX ser-mingw.o
/home/simark/src/binutils-gdb/gdb/ser-mingw.c: In function ‘int pipe_windows_open(serial*, const char*)’:
/home/simark/src/binutils-gdb/gdb/ser-mingw.c:870:3: error: ‘gdb_argv’ was not declared in this scope
870 | gdb_argv argv (name);
| ^~~~~~~~
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28802
Change-Id: I7f3e8ec5f9ca8582d587545fdf6b69901259f199
Diff:
---
gdb/ser-mingw.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c
index a5be6ab166d..afe04102e15 100644
--- a/gdb/ser-mingw.c
+++ b/gdb/ser-mingw.c
@@ -30,6 +30,7 @@
#include <sys/types.h>
#include "command.h"
+#include "gdbsupport/buildargv.h"
struct ser_windows_state
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-21 16:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 16:35 [binutils-gdb] gdb: include gdbsupport/buildargv.h in ser-mingw.c Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).