OSDN Git Service

* defs.h (XMALLOC): Define.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / mi / mi-cmd-var.c
index 0c84064..4848a4e 100644 (file)
@@ -1,5 +1,7 @@
 /* MI Command Set - varobj commands.
-   Copyright 2000 Free Software Foundation, Inc.
+
+   Copyright 2000, 2002 Free Software Foundation, Inc.
+
    Contributed by Cygnus Solutions (a Red Hat company).
 
    This file is part of GDB.
 #include "value.h"
 #include <ctype.h>
 
-/* Convenience macro for allocting typesafe memory. */
-
-#undef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-
 extern int varobjdebug;                /* defined in varobj.c */
 
 static int varobj_update_one (struct varobj *var);