projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gdb
/
csky-tdep.c
diff --git
a/gdb/csky-tdep.c
b/gdb/csky-tdep.c
index cd7d8c5a0b116e48fa8a66f3ef181f35c3005f80..7e5b71eece0f497f0c44ed89c522d8e0a8bb1135 100644
(file)
--- a/
gdb/csky-tdep.c
+++ b/
gdb/csky-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for the CSKY architecture, for GDB.
/* Target-dependent code for the CSKY architecture, for GDB.
- Copyright (C) 2010-20
19
Free Software Foundation, Inc.
+ Copyright (C) 2010-20
20
Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
Contributed by C-SKY Microsystems and Mentor Graphics.
@@
-20,7
+20,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "
common
/gdb_assert.h"
+#include "
gdbsupport
/gdb_assert.h"
#include "frame.h"
#include "inferior.h"
#include "symtab.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 "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"
#include "user-regs.h"
#include "valprint.h"
#include "csky-tdep.h"
@@
-59,7
+59,7
@@
#include <vector>
/* Control debugging information emitted in this file. */
#include <vector>
/* 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;
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;
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;
}
return t;
}
@@
-2240,8
+2240,9
@@
csky_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
return gdbarch;
}
return gdbarch;
}
+void _initialize_csky_tdep ();
void
void
-_initialize_csky_tdep (
void
)
+_initialize_csky_tdep ()
{
register_gdbarch_init (bfd_arch_csky, csky_gdbarch_init);
{
register_gdbarch_init (bfd_arch_csky, csky_gdbarch_init);
This page took
0.025133 seconds
and
4
git commands to generate.