diff options
author | Pedro Alves <palves@redhat.com> | 2013-08-09 15:41:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-08-09 15:41:46 +0000 |
commit | 156d08c82a586b3424e3f90b86c6a8b69156fef9 (patch) | |
tree | 94a4393ee7934747292fe89f038b52e6ed29c9f2 /gdb/cli | |
parent | db229724662fbf62607db43232fcaa3745579a52 (diff) | |
download | gdb-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/cli')
-rw-r--r-- | gdb/cli/cli-dump.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) |