diff options
author | Pedro Alves <palves@redhat.com> | 2013-08-09 15:41:45 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-08-09 15:41:45 +0000 |
commit | 42cfa4ab73cc7e0d752d5f06a4099b99c23c8eb0 (patch) | |
tree | 64f686a2fa7f0287de79180704ecfeeeef8117c9 /gdb/cli | |
parent | 17752e48c0d54f575e67ad87f64dbb91b449c8d2 (diff) | |
download | gdb-42cfa4ab73cc7e0d752d5f06a4099b99c23c8eb0.tar.gz |
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 9e202b6eaf6..774aa7ed529 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) |