aboutsummaryrefslogtreecommitdiff
path: root/gdb/avr-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-08-09 15:41:46 +0000
committerPedro Alves <palves@redhat.com>2013-08-09 15:41:46 +0000
commit156d08c82a586b3424e3f90b86c6a8b69156fef9 (patch)
tree94a4393ee7934747292fe89f038b52e6ed29c9f2 /gdb/avr-tdep.c
parentdb229724662fbf62607db43232fcaa3745579a52 (diff)
downloadgdb-156d08c82a586b3424e3f90b86c6a8b69156fef9.zip
gdb-156d08c82a586b3424e3f90b86c6a8b69156fef9.tar.gz
gdb-156d08c82a586b3424e3f90b86c6a8b69156fef9.tar.bz2
Remove unnecessary XMALLOC definitions.
XMALLOC is defined in defs.h. Tested by building with --enable-targets=all. gdb/ 2013-08-09 Pedro Alves <palves@redhat.com> * avr-tdep.c (XMALLOC): Delete macro. * cli/cli-dump.c (XMALLOC): Delete macro.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r--gdb/avr-tdep.c3
1 files changed, 0 insertions, 3 deletions
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