aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/avr-tdep.c3
-rw-r--r--gdb/cli/cli-dump.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 940a9a4..469678f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-08-09 Pedro Alves <palves@redhat.com>
+ * avr-tdep.c (XMALLOC): Delete macro.
+ * cli/cli-dump.c (XMALLOC): Delete macro.
+
+2013-08-09 Pedro Alves <palves@redhat.com>
+
* cli/cli-dump.c: Don't include cli/cli-dump.h.
(scan_expression_with_cleanup, scan_filename_with_cleanup)
(fopen_with_cleanup, add_dump_command): Make static.
@@ -14,7 +19,7 @@
2013-08-09 Pedro Alves <palves@redhat.com>
- * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
+ * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
error message.
2013-08-09 Pedro Alves <palves@redhat.com>
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 0bc08a8..fc4e0f0 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -68,9 +68,6 @@
via the remote serial protocol. The extra bits are the MSBs and are used to
decode which memory space the address is referring to. */
-#undef XMALLOC
-#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
-
/* Constants: prefixed with AVR_ to avoid name space clashes */
enum
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 9e202b6..774aa7e 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -34,8 +34,6 @@
#include "gdb_bfd.h"
#include "filestuff.h"
-#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
-
static char *
scan_expression_with_cleanup (char **cmd, const char *def)