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]
/
gdbserver
/
linux-s390-low.cc
diff --git
a/gdbserver/linux-s390-low.cc
b/gdbserver/linux-s390-low.cc
index 2b093b898bdc9342e464ae152a010e90effb19c7..f095181a23443b46cfa3460d142a3c88efd819d4 100644
(file)
--- a/
gdbserver/linux-s390-low.cc
+++ b/
gdbserver/linux-s390-low.cc
@@
-83,6
+83,10
@@
public:
void low_supply_ptrace_register (regcache *regcache, int regno,
const char *buf) override;
void low_supply_ptrace_register (regcache *regcache, int regno,
const char *buf) override;
+ struct emit_ops *emit_ops () override;
+
+ int get_ipa_tdesc_idx () override;
+
protected:
void low_arch_setup () override;
protected:
void low_arch_setup () override;
@@
-721,14
+725,6
@@
s390_target::supports_z_point_type (char z_type)
}
}
}
}
-/* Support for hardware single step. */
-
-static int
-s390_supports_hardware_single_step (void)
-{
- return 1;
-}
-
static struct usrregs_info s390_usrregs_info =
{
s390_num_regs,
static struct usrregs_info s390_usrregs_info =
{
s390_num_regs,
@@
-1451,10
+1447,10
@@
s390_target::get_min_fast_tracepoint_insn_len ()
return 6;
}
return 6;
}
-/* Implementation of
linux_target_
ops method "get_ipa_tdesc_idx". */
+/* Implementation of
target
ops method "get_ipa_tdesc_idx". */
-
static
int
-s390_
get_ipa_tdesc_idx (void
)
+int
+s390_
target::get_ipa_tdesc_idx (
)
{
struct regcache *regcache = get_thread_regcache (current_thread, 0);
const struct target_desc *tdesc = regcache->tdesc;
{
struct regcache *regcache = get_thread_regcache (current_thread, 0);
const struct target_desc *tdesc = regcache->tdesc;
@@
-2845,10
+2841,10
@@
static struct emit_ops s390x_emit_ops =
};
#endif
};
#endif
-/* The "emit_ops"
linux_target_
ops method. */
+/* The "emit_ops"
target
ops method. */
-
static struct
emit_ops *
-s390_
emit_ops (void
)
+emit_ops *
+s390_
target::emit_ops (
)
{
#ifdef __s390x__
struct regcache *regcache = get_thread_regcache (current_thread, 0);
{
#ifdef __s390x__
struct regcache *regcache = get_thread_regcache (current_thread, 0);
@@
-2860,14
+2856,6
@@
s390_emit_ops (void)
return &s390_emit_ops_impl;
}
return &s390_emit_ops_impl;
}
-struct linux_target_ops the_low_target = {
- s390_emit_ops,
- NULL, /* supports_range_stepping */
- s390_supports_hardware_single_step,
- NULL, /* get_syscall_trapinfo */
- s390_get_ipa_tdesc_idx,
-};
-
/* The linux target ops object. */
linux_process_target *the_linux_target = &the_s390_target;
/* The linux target ops object. */
linux_process_target *the_linux_target = &the_s390_target;
This page took
0.02353 seconds
and
4
git commands to generate.