Zap stray XCALLOC().
authorAndrew Cagney <cagney@redhat.com>
Fri, 7 Dec 2001 15:00:59 +0000 (15:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 7 Dec 2001 15:00:59 +0000 (15:00 +0000)
gdb/ChangeLog
gdb/regcache.c

index 9b1fc38bff8a33b6b50d800890d41772afd16dea..5d2c978dd6d93e9c66d5dc434e8805cda9ed0a1f 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (XCALLOC): Delete macro that should not have been
+       added.
+
 2001-12-07  Jiri Smid  <smid@suse.cz>
 
        * dwarf2cfi.c: New file.
index 9b3d6edcc86e31989beee0dafcaac352d24f4456..1b48da6575ea3c6f1ae63f985b60c0504a7c87c9 100644 (file)
@@ -766,9 +766,6 @@ reg_flush_command (char *command, int from_tty)
     printf_filtered ("Register cache flushed.\n");
 }
 
-#undef XCALLOC
-#define XCALLOC(NR,TYPE) ((TYPE*) xcalloc ((NR), sizeof (TYPE)))
-
 static void
 build_regcache (void)
 {