From 1c8649cd5f2449b1c0268e4ee7759c410d1729b8 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 7 Dec 2001 15:00:59 +0000 Subject: [PATCH] Zap stray XCALLOC(). --- gdb/ChangeLog | 5 +++++ gdb/regcache.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b1fc38bff8..5d2c978dd6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-12-06 Andrew Cagney + + * regcache.c (XCALLOC): Delete macro that should not have been + added. + 2001-12-07 Jiri Smid * dwarf2cfi.c: New file. diff --git a/gdb/regcache.c b/gdb/regcache.c index 9b3d6edcc86..1b48da6575e 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -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) { -- 2.30.2