mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
||||||
|
|
||||||
* cli/cli-dump.c: Don't include cli/cli-dump.h.
|
* cli/cli-dump.c: Don't include cli/cli-dump.h.
|
||||||
|
@ -68,9 +68,6 @@
|
|||||||
via the remote serial protocol. The extra bits are the MSBs and are used 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. */
|
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 */
|
/* Constants: prefixed with AVR_ to avoid name space clashes */
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
#include "gdb_bfd.h"
|
#include "gdb_bfd.h"
|
||||||
#include "filestuff.h"
|
#include "filestuff.h"
|
||||||
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
scan_expression_with_cleanup (char **cmd, const char *def)
|
scan_expression_with_cleanup (char **cmd, const char *def)
|
||||||
|
Reference in New Issue
Block a user