summaryrefslogtreecommitdiff
path: root/gdb/gdb-events.sh
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/gdb-events.sh
parent474c824023f17af87cf6632bf1e863157970e1ea (diff)
downloadbinutils-gdb-349c5d5f6c08699c3e433b28e2beaa24b65a63b0.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.sh')
-rwxr-xr-xgdb/gdb-events.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/gdb-events.sh b/gdb/gdb-events.sh
index eb7346551a0..9965f05577f 100755
--- a/gdb/gdb-events.sh
+++ b/gdb/gdb-events.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# User Interface Events.
-# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
#
# Contributed by Cygnus Solutions.
#
@@ -113,7 +113,8 @@ copyright ()
{
cat <<EOF
/* User Interface Events.
- Copyright 1999, 2001 Free Software Foundation, Inc.
+
+ Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
@@ -303,9 +304,6 @@ cat <<EOF
#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;