diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-01-21 01:29:04 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2006-01-21 01:29:04 +0000 |
commit | acab6ab29b26848dc49786d1b488961038bf99b4 (patch) | |
tree | b7a323c58e413d5c3a770d7aaa72c8b939f712f0 /gdb/rdi-share/msgbuild.h | |
parent | 4577207e6ff4ba9e63c121953361e4b2dd161298 (diff) | |
download | gdb-acab6ab29b26848dc49786d1b488961038bf99b4.zip gdb-acab6ab29b26848dc49786d1b488961038bf99b4.tar.gz gdb-acab6ab29b26848dc49786d1b488961038bf99b4.tar.bz2 |
* Makefile.in (remote-rdi.o): Remove.
(rdi-share/libangsd.a): Likewise.
* README: Don't mention remote-rdi.c.
* NEWS: Mention removal of rdi-share.
* configure.ac: Don't configure rdi-share subdirectory.
* remote-rdi.c: Remove.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
(TDEPLIBS): Remove rdi-share/libangsd.a.
* rdi-share/Makefile.am: Remove.
* rdi-share/Makefile.in: Likewise.
* rdi-share/README.CYGNUS: Likewise.
* rdi-share/aclocal.m4: Likewise.
* rdi-share/adp.h: Likewise.
* rdi-share/adperr.h: Likewise.
* rdi-share/angel.h: Likewise.
* rdi-share/angel_bytesex.c: Likewise.
* rdi-share/angel_bytesex.h: Likewise.
* rdi-share/angel_endian.h: Likewise.
* rdi-share/ardi.c: Likewise.
* rdi-share/ardi.h: Likewise.
* rdi-share/armdbg.h: Likewise.
* rdi-share/buffers.h: Likewise.
* rdi-share/chandefs.h: Likewise.
* rdi-share/channels.h: Likewise.
* rdi-share/chanpriv.h: Likewise.
* rdi-share/configure: Likewise.
* rdi-share/configure.in: Likewise.
* rdi-share/crc.c: Likewise.
* rdi-share/crc.h: Likewise.
* rdi-share/dbg_conf.h: Likewise.
* rdi-share/dbg_cp.h: Likewise.
* rdi-share/dbg_hif.h: Likewise.
* rdi-share/dbg_rdi.h: Likewise.
* rdi-share/devclnt.h: Likewise.
* rdi-share/devices.h: Likewise.
* rdi-share/devsw.c: Likewise.
* rdi-share/devsw.h: Likewise.
* rdi-share/drivers.c: Likewise.
* rdi-share/drivers.h: Likewise.
* rdi-share/etherdrv.c: Likewise.
* rdi-share/ethernet.h: Likewise.
* rdi-share/host.h: Likewise.
* rdi-share/hostchan.c: Likewise.
* rdi-share/hostchan.h: Likewise.
* rdi-share/hsys.c: Likewise.
* rdi-share/hsys.h: Likewise.
* rdi-share/logging.c: Likewise.
* rdi-share/logging.h: Likewise.
* rdi-share/msgbuild.c: Likewise.
* rdi-share/msgbuild.h: Likewise.
* rdi-share/params.c: Likewise.
* rdi-share/params.h: Likewise.
* rdi-share/rx.c: Likewise.
* rdi-share/rxtx.h: Likewise.
* rdi-share/serdrv.c: Likewise.
* rdi-share/serpardr.c: Likewise.
* rdi-share/sys.h: Likewise.
* rdi-share/tx.c: Likewise.
* rdi-share/unixcomm.c: Likewise.
* rdi-share/unixcomm.h: Likewise.
Diffstat (limited to 'gdb/rdi-share/msgbuild.h')
-rw-r--r-- | gdb/rdi-share/msgbuild.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/gdb/rdi-share/msgbuild.h b/gdb/rdi-share/msgbuild.h deleted file mode 100644 index ac2436c..0000000 --- a/gdb/rdi-share/msgbuild.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. - * - * This software may be freely used, copied, modified, and distributed - * provided that the above copyright notice is preserved in all copies of the - * software. - */ - -/* -*-C-*- - * - * $Revision$ - * $Date$ - * - * - * msgbuild.h - utilities for assembling and interpreting ADP messages - */ - -#ifndef angel_msgbuild_h -#define angel_msgbuild_h -#include <stdarg.h> -#include "channels.h" - -/* - * msgbuild - * -------- - * We use a "varargs" function to enable a description of how the - * final message should look to be provided. We use a function rather - * than in-line macros to keep the size of Angel small. - * - * The "buffer" pointer is the starting point from where the data will - * be written. Note: If a NULL pointer is passed then no data will be - * written, but the size information will be returned. This allows - * code to call this routine with a NULL "buffer" pointer to ascertain - * whether the pointer they are passing contains enough space for the - * message being constructed. - * - * The "format" string should contain sequences of the following - * tokens: - * %w - insert 32bit word value - * %p - insert 32bit target pointer value - * %h - insert 16bit value - * %b - insert 8bit byte value - * - * The return parameter is the final byte length of the data written. - */ -unsigned int msgbuild(unsigned char *buffer, const char *format, ...); -unsigned int vmsgbuild(unsigned char *buffer, const char *format, - va_list args); - -/*---------------------------------------------------------------------------*/ - -/* - * msgsend - * ------- - * As for msgbuild except that it allocates a buffer, formats the data as - * for msgbuild and transmits the packet. Returns 0 if successful non 0 if ot - * fails. - * Not for use on cooked channels e.g. debug channels only. - */ -extern int msgsend(ChannelID chan, const char *format, ...); - -/*---------------------------------------------------------------------------*/ - -/* - * Unpack_message - * -------------- - * This basically does the opposite of msg_build, it takes a message, and - * a scanf type format string (but much cut down functionality) and returns - * the arguments in the message. - */ -extern unsigned int unpack_message(unsigned char *buffer, const char *format, ...); - -#endif /* ndef angel_msgbuild_h */ - -/* EOF msgbuild.h */ |