X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdbserver%2Flinux-bfin-low.cc;h=8656b20a9321b466ff547188ae3a0dd318924acf;hb=797bcff595c5e161b333077299fcaca19bb4fd17;hp=c8c238abca75e169f4a9bc40a27c554a9cc9b6be;hpb=ef0478f6112ede4da9b70e07aa3124f0d2faf108;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbserver/linux-bfin-low.cc b/gdbserver/linux-bfin-low.cc index c8c238abca..8656b20a93 100644 --- a/gdbserver/linux-bfin-low.cc +++ b/gdbserver/linux-bfin-low.cc @@ -29,6 +29,9 @@ class bfin_target : public linux_process_target { public: +protected: + + void low_arch_setup () override; }; /* The singleton target ops object. */ @@ -93,8 +96,8 @@ bfin_breakpoint_at (CORE_ADDR where) return 0; } -static void -bfin_arch_setup (void) +void +bfin_target::low_arch_setup () { current_process ()->tdesc = tdesc_bfin; } @@ -126,7 +129,6 @@ bfin_regs_info (void) } struct linux_target_ops the_low_target = { - bfin_arch_setup, bfin_regs_info, bfin_cannot_fetch_register, bfin_cannot_store_register,