This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]