X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Feval.c;h=cd0c20ec98db14080adb1f61ce3119628d80880f;hb=2117c711ae07700adb57ea5b5ca61e4c32d7e3d2;hp=e83bfdf8f17b7ab241868af2bd51ba862f9f02dd;hpb=3a1115a0cc0a0a98555ba99df76ad9bcfee08759;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/eval.c b/gdb/eval.c index e83bfdf8f1..cd0c20ec98 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -1,6 +1,6 @@ /* Evaluate expressions for GDB. - Copyright (C) 1986-2013 Free Software Foundation, Inc. + Copyright (C) 1986-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -18,7 +18,7 @@ along with this program. If not, see . */ #include "defs.h" -#include "gdb_string.h" +#include #include "symtab.h" #include "gdbtypes.h" #include "value.h" @@ -40,7 +40,6 @@ #include "valprint.h" #include "gdb_obstack.h" #include "objfiles.h" -#include "python/python.h" #include "gdb_assert.h" @@ -660,8 +659,8 @@ ptrmath_type_p (const struct language_defn *lang, struct type *type) static struct type * make_params (int num_types, struct type **param_types) { - struct type *type = XZALLOC (struct type); - TYPE_MAIN_TYPE (type) = XZALLOC (struct main_type); + struct type *type = XCNEW (struct type); + TYPE_MAIN_TYPE (type) = XCNEW (struct main_type); TYPE_LENGTH (type) = 1; TYPE_CODE (type) = TYPE_CODE_METHOD; TYPE_VPTR_FIELDNO (type) = -1;