diff options
author | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:44 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:44 +0000 |
commit | 34c703da6cb01d8b41e1bfb790c3c2c625088b69 (patch) | |
tree | 11ccf7b832cefc43946df6c8c948aa756a161285 /gdb/gdbserver/linux-mips-low.c | |
parent | cff068da9d13bc9fa8c04f42151b4e92bfff86a1 (diff) | |
download | binutils-gdb-34c703da6cb01d8b41e1bfb790c3c2c625088b69.tar.gz |
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.
Diffstat (limited to 'gdb/gdbserver/linux-mips-low.c')
-rw-r--r-- | gdb/gdbserver/linux-mips-low.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/linux-mips-low.c b/gdb/gdbserver/linux-mips-low.c index f081dda9ba2..7988d073dac 100644 --- a/gdb/gdbserver/linux-mips-low.c +++ b/gdb/gdbserver/linux-mips-low.c @@ -334,14 +334,14 @@ mips_linux_new_process (void) Mark the watch registers as changed, so the threads' copies will be updated. */ -static struct arch_lwp_info * -mips_linux_new_thread (void) +static void +mips_linux_new_thread (struct lwp_info *lwp) { struct arch_lwp_info *info = xcalloc (1, sizeof (*info)); info->watch_registers_changed = 1; - return info; + lwp->arch_private = info; } /* This is the implementation of linux_target_ops method |