summaryrefslogtreecommitdiff
path: root/gdb/gdb-events.c
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/gdb-events.c
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/gdb-events.c')
-rw-r--r--gdb/gdb-events.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c
index 0fbb3bab798..ada30a3ef5a 100644
--- a/gdb/gdb-events.c
+++ b/gdb/gdb-events.c
@@ -1,5 +1,6 @@
/* User Interface Events.
- Copyright 1999, 2001 Free Software Foundation, Inc.
+
+ Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
@@ -38,9 +39,6 @@
#include "gdb-events.h"
#include "gdbcmd.h"
-#undef XMALLOC
-#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
-
#if WITH_GDB_EVENTS
static struct gdb_events null_event_hooks;
static struct gdb_events queue_event_hooks;