X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmt-tdep.c;h=e3786e815ea8afb8dfd64e0095d52a4510a22055;hb=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763;hp=f45ebcf51d566fd6cc376cc1684dc597cb9fb71d;hpb=ca9d61b90f4e1a24d90e5f8944b57a82728808e0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c index f45ebcf51d..e3786e815e 100644 --- a/gdb/mt-tdep.c +++ b/gdb/mt-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Morpho mt processor, for GDB. - Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -27,7 +27,7 @@ #include "dis-asm.h" #include "arch-utils.h" #include "gdbtypes.h" -#include "gdb_string.h" +#include #include "regcache.h" #include "reggroups.h" #include "gdbcore.h" @@ -718,7 +718,7 @@ mt_registers_info (struct gdbarch *gdbarch, print_spaces_filtered (15 - strlen (gdbarch_register_name (gdbarch, regnum)), file); - get_raw_print_options (&opts); + get_no_prettyformat_print_options (&opts); opts.deref_ref = 1; val_print (register_type (gdbarch, regnum), buf, 0, 0, file, 0, NULL, @@ -1149,7 +1149,7 @@ mt_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* None found, create a new architecture from the information provided. */ - tdep = XCALLOC (1, struct gdbarch_tdep); + tdep = XCNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); set_gdbarch_float_format (gdbarch, floatformats_ieee_single);