projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix wrong source file name of cross-arm-binutils.
[platform/upstream/binutils.git]
/
gdb
/
mt-tdep.c
diff --git
a/gdb/mt-tdep.c
b/gdb/mt-tdep.c
index
f45ebcf
..
a16af9c
100644
(file)
--- a/
gdb/mt-tdep.c
+++ b/
gdb/mt-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for Morpho mt processor, for GDB.
/* 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.
This file is part of GDB.
@@
-27,7
+27,6
@@
#include "dis-asm.h"
#include "arch-utils.h"
#include "gdbtypes.h"
#include "dis-asm.h"
#include "arch-utils.h"
#include "gdbtypes.h"
-#include "gdb_string.h"
#include "regcache.h"
#include "reggroups.h"
#include "gdbcore.h"
#include "regcache.h"
#include "reggroups.h"
#include "gdbcore.h"
@@
-35,7
+34,6
@@
#include "inferior.h"
#include "dwarf2-frame.h"
#include "infcall.h"
#include "inferior.h"
#include "dwarf2-frame.h"
#include "infcall.h"
-#include "gdb_assert.h"
#include "language.h"
#include "valprint.h"
#include "language.h"
#include "valprint.h"
@@
-718,7
+716,7
@@
mt_registers_info (struct gdbarch *gdbarch,
print_spaces_filtered (15 - strlen (gdbarch_register_name
(gdbarch, regnum)),
file);
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,
opts.deref_ref = 1;
val_print (register_type (gdbarch, regnum), buf,
0, 0, file, 0, NULL,
@@
-1149,7
+1147,7
@@
mt_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* None found, create a new architecture from the information
provided. */
/* None found, create a new architecture from the information
provided. */
- tdep = XC
ALLOC (1,
struct gdbarch_tdep);
+ tdep = XC
NEW (
struct gdbarch_tdep);
gdbarch = gdbarch_alloc (&info, tdep);
set_gdbarch_float_format (gdbarch, floatformats_ieee_single);
gdbarch = gdbarch_alloc (&info, tdep);
set_gdbarch_float_format (gdbarch, floatformats_ieee_single);