X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Flm32-tdep.c;h=bdd5477a9a90d550f44dd88bc3d8295c51ac46da;hb=2117c711ae07700adb57ea5b5ca61e4c32d7e3d2;hp=725ce5bf0e216719d01a0dacc77f0f9707819494;hpb=bad43aa52e2d7018830ae79c522f74b4dc3260e4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/lm32-tdep.c b/gdb/lm32-tdep.c index 725ce5bf0e..bdd5477a9a 100644 --- a/gdb/lm32-tdep.c +++ b/gdb/lm32-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for Lattice Mico32 processor, for GDB. Contributed by Jon Beniston - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -37,7 +37,7 @@ #include "reggroups.h" #include "opcodes/lm32-desc.h" -#include "gdb_string.h" +#include /* Macros to extract fields from an instruction. */ #define LM32_OPCODE(insn) ((insn >> 26) & 0x3f) @@ -527,7 +527,7 @@ lm32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return arches->gdbarch; /* None found, create a new architecture from the information provided. */ - tdep = XMALLOC (struct gdbarch_tdep); + tdep = XNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); /* Type sizes. */