X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcsky-tdep.c;h=7e5b71eece0f497f0c44ed89c522d8e0a8bb1135;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=cd7d8c5a0b116e48fa8a66f3ef181f35c3005f80;hpb=4133e5a13f15d86bb1f834090de98cca4c34759d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index cd7d8c5a0b..7e5b71eece 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the CSKY architecture, for GDB. - Copyright (C) 2010-2019 Free Software Foundation, Inc. + Copyright (C) 2010-2020 Free Software Foundation, Inc. Contributed by C-SKY Microsystems and Mentor Graphics. @@ -20,7 +20,7 @@ along with this program. If not, see . */ #include "defs.h" -#include "common/gdb_assert.h" +#include "gdbsupport/gdb_assert.h" #include "frame.h" #include "inferior.h" #include "symtab.h" @@ -49,7 +49,7 @@ #include "floatformat.h" #include "remote.h" #include "target-descriptions.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "user-regs.h" #include "valprint.h" #include "csky-tdep.h" @@ -59,7 +59,7 @@ #include /* Control debugging information emitted in this file. */ -static int csky_debug = 0; +static bool csky_debug = false; static struct reggroup *cr_reggroup; static struct reggroup *fr_reggroup; @@ -267,7 +267,7 @@ csky_vector_type (struct gdbarch *gdbarch) init_vector_type (bt->builtin_int8, 16)); TYPE_VECTOR (t) = 1; - TYPE_NAME (t) = "builtin_type_vec128i"; + t->set_name ("builtin_type_vec128i"); return t; } @@ -2240,8 +2240,9 @@ csky_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return gdbarch; } +void _initialize_csky_tdep (); void -_initialize_csky_tdep (void) +_initialize_csky_tdep () { register_gdbarch_init (bfd_arch_csky, csky_gdbarch_init);