X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdbserver%2Flinux-s390-low.cc;h=f095181a23443b46cfa3460d142a3c88efd819d4;hb=5fd104addfddb68844fb8df67be832ee98ad9888;hp=5ea4830dd1628323dfd8226905bf92311a8a439f;hpb=ab64c99982e1e26439dc66b2ea04aa0d4b0458c9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbserver/linux-s390-low.cc b/gdbserver/linux-s390-low.cc index 5ea4830dd1..f095181a23 100644 --- a/gdbserver/linux-s390-low.cc +++ b/gdbserver/linux-s390-low.cc @@ -85,6 +85,8 @@ public: struct emit_ops *emit_ops () override; + int get_ipa_tdesc_idx () override; + protected: void low_arch_setup () override; @@ -723,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, @@ -1453,10 +1447,10 @@ s390_target::get_min_fast_tracepoint_insn_len () 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; @@ -2862,13 +2856,6 @@ s390_target::emit_ops () return &s390_emit_ops_impl; } -struct linux_target_ops the_low_target = { - 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;