forked from Imagelibrary/binutils-gdb
Change signature of linux_target_ops.new_thread
This commit changes the signature of linux_target_ops.new_thread in gdbserver to match that used in GDB's equivalent. gdb/gdbserver/ChangeLog: * linux-low.h (linux_target_ops) <new_thread>: Changed signature. * linux-arm-low.c (arm_new_thread): Likewise. * linux-aarch64-low.c (aarch64_linux_new_thread): Likewise. * linux-mips-low.c (mips_linux_new_thread): Likewise. * linux-x86-low.c (x86_linux_new_thread): Likewise. * linux-low.c (add_lwp): Update the_low_target.new_thread call.
This commit is contained in:
@@ -757,14 +757,14 @@ x86_linux_new_process (void)
|
||||
|
||||
/* Called when a new thread is detected. */
|
||||
|
||||
static struct arch_lwp_info *
|
||||
x86_linux_new_thread (void)
|
||||
static void
|
||||
x86_linux_new_thread (struct lwp_info *lwp)
|
||||
{
|
||||
struct arch_lwp_info *info = XCNEW (struct arch_lwp_info);
|
||||
|
||||
info->debug_registers_changed = 1;
|
||||
|
||||
return info;
|
||||
lwp->arch_private = info;
|
||||
}
|
||||
|
||||
/* See nat/x86-dregs.h. */
|
||||
|
||||
Reference in New Issue
Block a user