Fri Jul 17 16:52:04 1992 Stu Grossman (grossman at cygnus.com)
+ * energize.c: Relativize pathnames in #include statements.
+ * (kernel_dispatch): Better error messages for unknown protocol
+ messages.
+ * (kernel_dispatch): First cut at DynamicLoad message handling.
+
* Makefile.in: Remove -I../readline from all compilations,
include a special case for main.o instead.
#include <sys/types.h>
#include <sys/time.h>
#include <sys/param.h>
-#include <connection.h>
-#include <genericreq.h>
-#include <debuggerreq.h>
-#include <debuggerconn.h>
-#include <ttyconn.h>
+#include "energize/connection.h"
+#include "energize/genericreq.h"
+#include "energize/debuggerreq.h"
+#include "energize/debuggerconn.h"
+#include "energize/ttyconn.h"
#include <varargs.h>
#include <sys/stat.h>
#ifdef USG
}
break;
default:
- fprintf(stderr, "Unknown request type = %d\n",
+ fprintf(stderr, "Unknown Tty request type = %d\n",
req->head.reqType);
break;
}
req->setValue.value.text);
}
break;
+ case DynamicLoadRType:
+ switch (req->dynamicLoad.request->action)
+ {
+ case CDynamicLoadUpdateSymtab:
+ printf_filtered("CDynamicLoadUpdateSymtab, filename=%s\n",
+ req->dynamicLoad.filenames.text);
+ break;
+ default:
+ printf_filtered("DynamicLoadRType: unknown action=%d, filename=%s\n",
+ req->dynamicLoad.request->action,
+ req->dynamicLoad.filenames.text);
+ break;
+ }
+ break;
default:
- fprintf(stderr, "Unknown request type = %d\n",
+ fprintf(stderr, "Unknown Debugger request type = %d\n",
req->head.request->reqType);
break;
}