X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdbserver%2Flinux-arm-low.cc;h=17f9549a8875199f824f93aa65c8a1300a333f13;hb=797bcff595c5e161b333077299fcaca19bb4fd17;hp=7ecedb8f6efae5d4ae4265bc404d6c039cc02115;hpb=ef0478f6112ede4da9b70e07aa3124f0d2faf108;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbserver/linux-arm-low.cc b/gdbserver/linux-arm-low.cc index 7ecedb8f6e..17f9549a88 100644 --- a/gdbserver/linux-arm-low.cc +++ b/gdbserver/linux-arm-low.cc @@ -60,6 +60,9 @@ class arm_target : public linux_process_target { public: +protected: + + void low_arch_setup () override; }; /* The singleton target ops object. */ @@ -889,8 +892,8 @@ arm_read_description (void) return arm_linux_read_description (ARM_FP_TYPE_NONE); } -static void -arm_arch_setup (void) +void +arm_target::low_arch_setup () { int tid = lwpid_of (current_thread); int gpregs[18]; @@ -1018,7 +1021,6 @@ arm_regs_info (void) } struct linux_target_ops the_low_target = { - arm_arch_setup, arm_regs_info, arm_cannot_fetch_register, arm_cannot_store_register,