4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-23 17:19:33 +08:00

* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o

* libgloss/m68k/bdm-outbyte.c: Delete.
	* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
This commit is contained in:
Nathan Sidwell 2006-05-24 07:54:51 +00:00
parent 22bd8d8dc6
commit 0fecf1109c
4 changed files with 8 additions and 30 deletions

View File

@ -1,3 +1,9 @@
2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o
* libgloss/m68k/bdm-outbyte.c: Delete.
* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
* libgloss/m68k/bdm-semihost.h: Add new constants for additional

View File

@ -132,7 +132,7 @@ BDM_OBJS= bdm-isv.o bdm-semihost.o $(BDM_SYSOBJS) \
BDM_OTHER_OBJS= getpid.o kill.o sbrk.o print.o putnum.o
BDM_SYSOBJS= bdm-close.o bdm-exit.o bdm-fstat.o bdm-gdb.o \
bdm-gettimeofday.o bdm-inbyte.o bdm-isatty.o bdm-lseek.o \
bdm-open.o bdm-outbyte.o bdm-read.o bdm-rename.o \
bdm-open.o bdm-read.o bdm-rename.o \
bdm-stat.o bdm-system.o bdm-unlink.o bdm-write.o
BDM_ISRS= other_interrupt reset access_error address_error \
illegal_instruction divide_by_zero privilege_violation \

View File

@ -1,27 +0,0 @@
/*
* bdm-outbyte.c --
*
* Copyright (c) 2006 CodeSourcery Inc
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* notice is included verbatim in any distributions. No written agreement,
* license, or royalty fee is required for any of the authorized uses.
* Modifications to this software may be copyrighted by their authors
* and need not follow the licensing terms described here, provided that
* the new terms are clearly indicated on the first page of each file where
* they apply.
*/
#include "bdm-semihost.h"
/*
* outbyte -- output a byte to a console.
*/
void outbyte (char c)
{
int code = c & 0xff;
BDM_TRAP (BDM_OUTBYTE, code);
}

View File

@ -32,7 +32,7 @@
/* Codes for BDM_FUNC_REG. */
#define BDM_EXIT 0
#define BDM_OUTBYTE 1
#define BDM_PUTCHAR 1 /* Obsolete */
#define BDM_OPEN 2
#define BDM_CLOSE 3
#define BDM_READ 4
@ -46,7 +46,6 @@
#define BDM_ISATTY 12
#define BDM_SYSTEM 13
/* Here is the macro that generates the trap. */
#define BDM_TRAP(func, arg) \