* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
[deliverable/binutils-gdb.git] / gdb / rdi-share / hostchan.h
index 5706fdc2bc5546ae238bb327522ae7896576cfe4..b60804d437959dd8e91add0b5c362e569b0650d1 100644 (file)
 #ifndef angsd_hostchan_h
 #define angsd_hostchan_h
 
-/* If under Cygwin, provide backwards compatibility with older
-   Cygwin compilers that don't define the current cpp define. */
-#ifdef __CYGWIN32__
-#ifndef __CYGWIN__
-#define __CYGWIN__
-#endif
+/* A temporary sop to older compilers */
+#if defined (__NetBSD__) || defined (unix)
+#  ifndef __unix              /* (good for long-term portability?)  */
+#    define __unix    1
+#  endif
 #endif
 
 /* struct timeval */
@@ -91,6 +90,13 @@ extern void Adp_addToQueue(Packet **head, Packet *newpkt);
 
 extern Packet *Adp_removeFromQueue(Packet **head);
 
+/*
+ * Set log file and Enable/disable logging of ADP packets to file.
+ */
+
+void Adp_SetLogfile(const char *filename);
+void Adp_SetLogEnable(int logEnableFlag);
+
 /*
  *  Function: Adp_OpenDevice
  *   Purpose: Open a device to use for channels communication.  This is a
This page took 0.023704 seconds and 4 git commands to generate.