aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-unix.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-19 02:51:09 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-19 02:51:09 +0000
commit349c5d5f6c08699c3e433b28e2beaa24b65a63b0 (patch)
tree224845ba5cf67ef4715a06930fd3a4e56765ae9d /gdb/ser-unix.h
parent474c824023f17af87cf6632bf1e863157970e1ea (diff)
downloadbinutils-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.zip
binutils-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.tar.gz
binutils-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.tar.bz2
* defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro. * gdb-events.c, gdb-events.h: Regenerate. * gdbarch.sh (XMALLOC): Delete macro. * gdbarch.c: Regenerate. * serial.c (XMALLOC): Delete macro. * ui-file.c (XMALLOC): Ditto. * ser-unix.h (XMALLOC): Ditto. * sh-tdep.c (XMALLOC): Ditto. * ui-out.c (XMALLOC): Ditto. * utils.c (XMALLOC): Ditto. * i386-tdep.c (XMALLOC): Ditto. * gdb-events.c (XMALLOC): Ditto. * d10v-tdep.c (XMALLOC): Ditto. * cli-out.c (XMALLOC): Ditto. * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. * ui-file.c, ui-out.c: Ditto.
Diffstat (limited to 'gdb/ser-unix.h')
-rw-r--r--gdb/ser-unix.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/ser-unix.h b/gdb/ser-unix.h
index 861694f..f7be059 100644
--- a/gdb/ser-unix.h
+++ b/gdb/ser-unix.h
@@ -1,5 +1,6 @@
/* Serial interface for UN*X file-descriptor based connection.
- Copyright 1999, 2000 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,9 +22,6 @@
#ifndef SER_UNIX_H
#define SER_UNIX_H
-#undef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-
/* Generic UNIX/FD functions */
extern int ser_unix_nop_flush_output (struct serial *scb);