From: Stu Grossman Date: Sat, 18 Jul 1992 00:00:24 +0000 (+0000) Subject: * energize.c: Relativize pathnames in #include statements. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=509c1804ca3b593c3f513b0ab195cf193820040d;p=binutils-gdb.git * energize.c: Relativize pathnames in #include statements. * (kernel_dispatch): Better error messages for unknown protocol messages. * (kernel_dispatch): First cut at DynamicLoad message handling. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9899d0e3e96..f022039b581 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 80048d47245..33ee5a883d1 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; }