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-low.h | |
parent | cff068da9d13bc9fa8c04f42151b4e92bfff86a1 (diff) | |
download | gdb-34c703da6cb01d8b41e1bfb790c3c2c625088b69.zip gdb-34c703da6cb01d8b41e1bfb790c3c2c625088b69.tar.gz gdb-34c703da6cb01d8b41e1bfb790c3c2c625088b69.tar.bz2 |
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-low.h')
-rw-r--r-- | gdb/gdbserver/linux-low.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h index 5c52b14..1ae3701 100644 --- a/gdb/gdbserver/linux-low.h +++ b/gdb/gdbserver/linux-low.h @@ -185,7 +185,7 @@ struct linux_target_ops /* Hook to call when a new thread is detected. If extra per-thread architecture-specific data is needed, allocate it here. */ - struct arch_lwp_info * (*new_thread) (void); + void (*new_thread) (struct lwp_info *); /* Hook to call prior to resuming a thread. */ void (*prepare_to_resume) (struct lwp_info *); |