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/mi/mi-console.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/mi/mi-console.c')
-rw-r--r-- | gdb/mi/mi-console.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/mi/mi-console.c b/gdb/mi/mi-console.c index 5824f83..c1b6e9f 100644 --- a/gdb/mi/mi-console.c +++ b/gdb/mi/mi-console.c @@ -1,5 +1,7 @@ /* MI Console code. - Copyright 2000, 2001 Free Software Foundation, Inc. + + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + Contributed by Cygnus Solutions (a Red Hat company). This file is part of GDB. @@ -23,11 +25,6 @@ #include "mi-console.h" #include "gdb_string.h" -/* Convenience macro for allocting typesafe memory. */ - -#undef XMALLOC -#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE)) - /* MI-console: send output to std-out but correcty encapsulated */ static ui_file_fputs_ftype mi_console_file_fputs; |