This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/Obvious] Fix go32v2 compilation.
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb-patches at sourceware dot org>
- Cc: "'Eli Zaretskii'" <eliz at gnu dot org>, "'Pedro Alves'" <pedro at codesourcery dot com>
- Date: Tue, 12 Oct 2010 17:01:10 +0200
- Subject: [RFA/Obvious] Fix go32v2 compilation.
Go32v2 native target doesn't compile anymore...
since a patch by Pedro dating back 2010-08-20 :(
Which sadly means that not many persons currently still try to use
current CVS tree for go32v2...
I almost checked this in as obvious, but
I didn't really get if this function was necessary or not.
Pedro, is setting this function to NULL enough to
maintain old functionality for DJGPP
or should a dos specific function be implemented?
Pierre Muller
Pascal language support maintainer for GDB
ChangeLog entry:
2010-10-12 Pierre Muller <muller@ics.u-strasbg.fr>
* ser-go32.c (struct dos_ops) Add missing fdopen field.
Index: ser-go32.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-go32.c,v
retrieving revision 1.24
diff -u -p -r1.24 ser-go32.c
--- ser-go32.c 20 Aug 2010 18:49:20 -0000 1.24
+++ ser-go32.c 12 Oct 2010 14:54:53 -0000
@@ -843,6 +843,7 @@ static struct serial_ops dos_ops =
0,
dos_open,
dos_close,
+ NULL, /* fdopen, not implemented */
dos_readchar,
dos_write,
dos_noop, /* flush output */