summaryrefslogtreecommitdiff
path: root/gdb/rdi-share/hostchan.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rdi-share/hostchan.c')
-rw-r--r--gdb/rdi-share/hostchan.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/gdb/rdi-share/hostchan.c b/gdb/rdi-share/hostchan.c
index e4da694f467..7d293ca1da9 100644
--- a/gdb/rdi-share/hostchan.c
+++ b/gdb/rdi-share/hostchan.c
@@ -8,8 +8,8 @@
/* -*-C-*-
*
- * $Revision: 1.6 $
- * $Date: 1999/01/28 03:50:15 $
+ * $Revision: 1.8 $
+ * $Date: 1999/11/01 15:32:59 $
*
*
* hostchan.c - Semi Synchronous Host side channel interface for Angel.
@@ -230,7 +230,7 @@ void Adp_addToQueue(Packet **head, Packet *newpkt)
*/
ASSERT(&(((Packet *)0)->pk_next) == 0, "bad struct Packet layout");
-#if DEBUG && 0
+#if defined(DEBUG) && 0
printf("Adp_addToQueue(%p, %p)\n", head, newpkt);
#endif
@@ -265,6 +265,16 @@ Packet *Adp_removeFromQueue(Packet **head)
return pk;
}
+void Adp_SetLogEnable(int logEnableFlag)
+{
+ DevSW_SetLogEnable(logEnableFlag);
+}
+
+void Adp_SetLogfile(const char *filename)
+{
+ DevSW_SetLogfile(filename);
+}
+
AdpErrs Adp_OpenDevice(const char *name, const char *arg,
unsigned int heartbeat_on)
{