OSDN Git Service

* defs.h (XMALLOC): Define.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / gdbarch.sh
index 310d3c4..ef69e8e 100755 (executable)
@@ -1212,13 +1212,6 @@ static void init_gdbarch_swap (struct gdbarch *);
 static void swapout_gdbarch_swap (struct gdbarch *);
 static void swapin_gdbarch_swap (struct gdbarch *);
 
-/* Convenience macro for allocting typesafe memory. */
-
-#ifndef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-#endif
-
-
 /* Non-zero if we want to trace architecture code.  */
 
 #ifndef GDBARCH_DEBUG