X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdbserver%2Flinux-s390-low.cc;h=1c94be04f4b0ad36984471f4d3fc6c12a46c0b07;hb=fc5ecdb630406b68ce98c112e1fe618b5839c188;hp=d09860f36db7aaad0ccf28f503d962b87614d1b7;hpb=9eedd27d42ceeb6f3765c24972a5c97ce20727cd;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbserver/linux-s390-low.cc b/gdbserver/linux-s390-low.cc index d09860f36d..1c94be04f4 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; @@ -1445,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; @@ -2855,7 +2857,6 @@ s390_target::emit_ops () } struct linux_target_ops the_low_target = { - s390_get_ipa_tdesc_idx, }; /* The linux target ops object. */