This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

gdb-4.17 patch for ser-go32.c


The following patch is needed, since the system include
directory structure has changed in DJGPP already a long
time ago.

here now the Changelog entry for directory gdb-4.17/gdb:

Sun Jan 17 1999 Robert Hoehne (robert.hoehne@gmx.net)

        * ser-go32.c: change the included system headers

        
Index: gdb-4.17/gdb/ser-go32.c
===================================================================
RCS file: Q:/gnu/gdb-4.17/gdb/ser-go32.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ser-go32.c
- --- ser-go32.c 1998-10-06 09:16:29+00 1.1.1.1
+++ ser-go32.c 1998-10-06 10:22:54+00
@@ -126,9 +126,10 @@
#define MSR_DDSR 0x02
#define MSR_DCTS 0x01

- -#include <sys/dos.h>
- -#include <sys/go32.h>
- -#include <sys/dpmi.h>
+#include <dos.h>
+#include <go32.h>
+#include <dpmi.h>
+typedef unsigned long u_long;

/* DPMI Communication */
static union REGS dpmi_regs;

- -- 
******************************************************
* email:   Robert Hoehne <robert.hoehne@gmx.net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************