OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9dcbf
)
Zap stray XCALLOC().
author
cagney
<cagney>
Fri, 7 Dec 2001 15:00:59 +0000
(15:00 +0000)
committer
cagney
<cagney>
Fri, 7 Dec 2001 15:00:59 +0000
(15:00 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/regcache.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
9b1fc38
..
5d2c978
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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.
diff --git
a/gdb/regcache.c
b/gdb/regcache.c
index
9b3d6ed
..
1b48da6
100644
(file)
--- 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)
{