This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Zap stray macro
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 07 Dec 2001 10:02:21 -0500
- Subject: [patch] Zap stray macro
Hello,
The attatched wasn't ment to be included with my regcache.[hc] changes.
Zapped.
Andrew
2001-12-06 Andrew Cagney <ac131313@redhat.com>
* regcache.c (XCALLOC): Delete macro that should not have been
added.
Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.28
diff -p -r1.28 regcache.c
*** regcache.c 2001/12/06 20:49:47 1.28
--- regcache.c 2001/12/07 14:54:50
*************** reg_flush_command (char *command, int fr
*** 766,774 ****
printf_filtered ("Register cache flushed.\n");
}
- #undef XCALLOC
- #define XCALLOC(NR,TYPE) ((TYPE*) xcalloc ((NR), sizeof (TYPE)))
-
static void
build_regcache (void)
{
--- 766,771 ----