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/logging.h | |
parent | 4577207e6ff4ba9e63c121953361e4b2dd161298 (diff) | |
download | binutils-acab6ab29b26848dc49786d1b488961038bf99b4.zip binutils-acab6ab29b26848dc49786d1b488961038bf99b4.tar.gz binutils-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/logging.h')
-rw-r--r-- | gdb/rdi-share/logging.h | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/gdb/rdi-share/logging.h b/gdb/rdi-share/logging.h deleted file mode 100644 index 97bf902..0000000 --- a/gdb/rdi-share/logging.h +++ /dev/null @@ -1,121 +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$ - * - * - * logging.h - methods for logging warnings, errors and trace info - */ - -#ifndef angel_logging_h -#define angel_logging_h - -#include <stdarg.h> - -/* - * __rt_warning - * ------------ - * Provides a standard method of generating run-time system - * warnings. The actual action taken by this code can be board or - * target application specific, e.g. internal logging, debug message, - * etc. - */ -extern void __rt_warning(char *format, ...); - -/*---------------------------------------------------------------------------*/ - -/* - * __rt_error - * ---------- - * Raise an internal Angel error. The parameters are passed directly - * to "__rt_warning" for display, and the code then raises a debugger - * event and stops the target processing. - */ -extern void __rt_error(char *format, ...); - -/* - * Some macros for debugging and warning messages - */ - -typedef enum WarnLevel { - WL_TRACE, - WL_WARN, - WL_ERROR -} WarnLevel; - -void va_warn(WarnLevel level, char *format, va_list args); - -#ifdef _WINGDI_ -/* stupidity in MSVC <wingdi.h> (in <windows.h> in <winsock.h>) */ -# undef ERROR -#endif - -#ifndef ERROR -# define ERROR_FORMAT "Error \"%s\" in %s at line %d\n" -# define ERROR(e) __rt_error(ERROR_FORMAT, (e), __FILE__, __LINE__) -#endif - -#ifndef ASSERT -# ifdef ASSERTIONS_ENABLED -# define ASSERT(x, y) ((x) ? (void)(0) : ERROR((y))) -# else -# define ASSERT(x, y) ((void)(0)) -# endif -#endif - -#ifndef WARN -# ifdef ASSERTIONS_ENABLED -# define WARN_FORMAT "Warning \"%s\" in %s at line %d\n" -# define WARN(w) __rt_warning(WARN_FORMAT, (w), __FILE__, __LINE__) -# else -# define WARN(w) ((void)(0)) -# endif -#endif - - -#ifdef NO_INFO_MESSAGES -# define __rt_info (void) -# ifndef INFO -# define INFO(w) -# endif -#else -# define __rt_info __rt_warning -# ifndef INFO -# ifdef DEBUG -# define INFO(w) __rt_warning("%s\n", (w)) -# else -# define INFO(w) ((void)(0)) -# endif -# endif -#endif - - -#if defined(DEBUG) && !defined(NO_IDLE_CHITCHAT) -# ifndef DO_TRACE -# define DO_TRACE (1) -# endif -#endif - -#ifdef DO_TRACE -extern void __rt_trace(char *format, ...); -#endif - -#ifndef TRACE -# ifdef DO_TRACE -# define TRACE(w) __rt_trace("%s ", (w)) -# else -# define TRACE(w) ((void)(0)) -# endif -#endif - -#endif /* ndef angel_logging_h */ - -/* EOF logging.h */ |