aboutsummaryrefslogtreecommitdiff
path: root/gdb/energize.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-07-18 00:00:24 +0000
committerStu Grossman <grossman@cygnus>1992-07-18 00:00:24 +0000
commit509c1804ca3b593c3f513b0ab195cf193820040d (patch)
treecc00fadcc181effaefd65df4f151d278474c8a6b /gdb/energize.c
parentf8e32b6ee572b534fd7a99ccc6f8328b1b478fa9 (diff)
downloadgdb-509c1804ca3b593c3f513b0ab195cf193820040d.zip
gdb-509c1804ca3b593c3f513b0ab195cf193820040d.tar.gz
gdb-509c1804ca3b593c3f513b0ab195cf193820040d.tar.bz2
* energize.c: Relativize pathnames in #include statements.
* (kernel_dispatch): Better error messages for unknown protocol messages. * (kernel_dispatch): First cut at DynamicLoad message handling.
Diffstat (limited to 'gdb/energize.c')
-rw-r--r--gdb/energize.c28
1 files changed, 21 insertions, 7 deletions
diff --git a/gdb/energize.c b/gdb/energize.c
index 80048d4..33ee5a8 100644
--- a/gdb/energize.c
+++ b/gdb/energize.c
@@ -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;
}