diff options
Diffstat (limited to 'gdb/sparc64-linux-nat.c')
-rw-r--r-- | gdb/sparc64-linux-nat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/sparc64-linux-nat.c b/gdb/sparc64-linux-nat.c index 4dce383..9ac1afe 100644 --- a/gdb/sparc64-linux-nat.c +++ b/gdb/sparc64-linux-nat.c @@ -39,6 +39,12 @@ public: void store_registers (struct regcache *regcache, int regnum) override; { sparc_store_inferior_registers (this, regcache, regnum); } + + /* Override linux_nat_target low methods. */ + + /* ADI support */ + void low_forget_process (pid_t pid) override + { sparc_forget_process (pid); } }; static sparc64_linux_nat_target the_sparc64_linux_nat_target; @@ -93,8 +99,5 @@ _initialize_sparc64_linux_nat (void) linux_target = &the_sparc64_linux_nat_target; add_target (t); - /* ADI support */ - linux_nat_set_forget_process (t, sparc64_forget_process); - sparc_gregmap = &sparc64_linux_ptrace_gregmap; } |