X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdbserver%2Flinux-tile-low.cc;h=293847efa24d6ec576bf3b2833b3fca9128d9fb8;hb=797bcff595c5e161b333077299fcaca19bb4fd17;hp=807a8976fd77b7cb47ba816f58d0ebe7be3bc2b6;hpb=ef0478f6112ede4da9b70e07aa3124f0d2faf108;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbserver/linux-tile-low.cc b/gdbserver/linux-tile-low.cc index 807a8976fd..293847efa2 100644 --- a/gdbserver/linux-tile-low.cc +++ b/gdbserver/linux-tile-low.cc @@ -29,6 +29,9 @@ class tile_target : public linux_process_target { public: +protected: + + void low_arch_setup () override; }; /* The singleton target ops object. */ @@ -159,8 +162,8 @@ tile_regs_info (void) return ®s_info; } -static void -tile_arch_setup (void) +void +tile_target::low_arch_setup () { int pid = pid_of (current_thread); unsigned int machine; @@ -187,7 +190,6 @@ tile_supports_hardware_single_step (void) struct linux_target_ops the_low_target = { - tile_arch_setup, tile_regs_info, tile_cannot_fetch_register, tile_cannot_store_register,