diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-03-19 02:51:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-03-19 02:51:09 +0000 |
commit | 349c5d5f6c08699c3e433b28e2beaa24b65a63b0 (patch) | |
tree | 224845ba5cf67ef4715a06930fd3a4e56765ae9d /gdb/serial.c | |
parent | 474c824023f17af87cf6632bf1e863157970e1ea (diff) | |
download | gdb-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.zip gdb-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.tar.gz gdb-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/serial.c')
-rw-r--r-- | gdb/serial.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 22964eb..ada5631 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -1,7 +1,7 @@ /* Generic serial interface routines - Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 - Free Software Foundation, Inc. + Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -58,9 +58,6 @@ static const char logbase_ascii[] = "ascii"; static const char *logbase_enums[] = {logbase_hex, logbase_octal, logbase_ascii, NULL}; static const char *serial_logbase = logbase_ascii; - -#undef XMALLOC -#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE))) static int serial_current_type = 0; |