From 509c1804ca3b593c3f513b0ab195cf193820040d Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Sat, 18 Jul 1992 00:00:24 +0000 Subject: * energize.c: Relativize pathnames in #include statements. * (kernel_dispatch): Better error messages for unknown protocol messages. * (kernel_dispatch): First cut at DynamicLoad message handling. --- gdb/ChangeLog | 5 +++++ gdb/energize.c | 28 +++++++++++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9899d0e..f022039 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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 #include #include -#include -#include -#include -#include -#include +#include "energize/connection.h" +#include "energize/genericreq.h" +#include "energize/debuggerreq.h" +#include "energize/debuggerconn.h" +#include "energize/ttyconn.h" #include #include #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; } -- cgit v1.1