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.
2013-08-09 Pedro Alves <palves@redhat.com>
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.
* 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.
2013-08-09 Pedro Alves <palves@redhat.com>
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>
error message.
2013-08-09 Pedro Alves <palves@redhat.com>
via the remote serial protocol. The extra bits are the MSBs and are used to
decode which memory space the address is referring to. */
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
/* Constants: prefixed with AVR_ to avoid name space clashes */
enum
#include "gdb_bfd.h"
#include "filestuff.h"
#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)
static char *
scan_expression_with_cleanup (char **cmd, const char *def)