diff options
Diffstat (limited to 'gdb/aarch64-linux-nat.c')
-rw-r--r-- | gdb/aarch64-linux-nat.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index c6437fe..28ad38b 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -828,16 +828,18 @@ aarch64_linux_get_debug_reg_capacity (void) } } -static void (*super_post_startup_inferior) (ptid_t ptid); +static void (*super_post_startup_inferior) (struct target_ops *self, + ptid_t ptid); /* Implement the "to_post_startup_inferior" target_ops method. */ static void -aarch64_linux_child_post_startup_inferior (ptid_t ptid) +aarch64_linux_child_post_startup_inferior (struct target_ops *self, + ptid_t ptid) { aarch64_forget_process (ptid_get_pid (ptid)); aarch64_linux_get_debug_reg_capacity (); - super_post_startup_inferior (ptid); + super_post_startup_inferior (self, ptid); } /* Implement the "to_read_description" target_ops method. */ |