summaryrefslogtreecommitdiff
path: root/gdb/tui
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
commit031715a66c3193677734972494efd5d3e34ce5e2 (patch)
tree4a40edfea129045d5e9d351ad99c28acd33ade01 /gdb/tui
parentf03cea58597b03818f4a3849f314748ac1e1c8a5 (diff)
downloadgdb-031715a66c3193677734972494efd5d3e34ce5e2.tar.gz
* 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/tui')
-rw-r--r--gdb/tui/ChangeLog4
-rw-r--r--gdb/tui/tui-out.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 2f676a88d1b..d278c6a73a7 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-15 Andrew Cagney <ac131313@redhat.com>
+
+ * tui-out.c (XMALLOC): Delete macro. Update copyright.
+
2002-03-01 Andrew Cagney <ac131313@redhat.com>
* tui-hooks.c: Add FIXME to explain true/false problem. Update
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 9789c65a608..a8cc58ba5ca 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -1,5 +1,7 @@
/* Output generating routines for GDB CLI.
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
Contributed by Cygnus Solutions.
Written by Fernando Nasser for Cygnus.
@@ -26,12 +28,6 @@
#include "gdb_string.h"
#include "gdb_assert.h"
-/* Convenience macro for allocting typesafe memory. */
-
-#ifndef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-#endif
-
struct ui_out_data
{
struct ui_file *stream;