* energize.c: Relativize pathnames in #include statements.
authorStu Grossman <grossman@cygnus>
Sat, 18 Jul 1992 00:00:24 +0000 (00:00 +0000)
committerStu Grossman <grossman@cygnus>
Sat, 18 Jul 1992 00:00:24 +0000 (00:00 +0000)
* (kernel_dispatch):  Better error messages for unknown protocol
messages.
* (kernel_dispatch):  First cut at DynamicLoad message handling.

gdb/ChangeLog
gdb/energize.c

index 9899d0e3e96a1c7e98580068e3fdeddc79b5ac8c..f022039b5819b8cd5a13eb82badb6d842871d26a 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
index 80048d472450def55cfeefd12501a3c11799c0b3..33ee5a883d111bbc12a432dc738dba22eac5b361 100644 (file)
@@ -27,11 +27,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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
@@ -873,7 +873,7 @@ kernel_dispatch(queue)
          }
          break;
        default:
-         fprintf(stderr, "Unknown request type = %d\n",
+         fprintf(stderr, "Unknown Tty request type = %d\n",
                  req->head.reqType);
          break;
        }
@@ -1148,8 +1148,22 @@ kernel_dispatch(queue)
                              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;
        }