]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Thread options & clone events (native Linux)
authorPedro Alves <pedro@palves.net>
Tue, 23 Nov 2021 20:35:12 +0000 (20:35 +0000)
committerPedro Alves <pedro@palves.net>
Mon, 18 Jul 2022 16:33:31 +0000 (17:33 +0100)
commite5a5c15bdc3a8df561b0f7fff7af51d6725500b6
tree23a48a0c5b04c36cb8b4b7f79ff8edd2c9feb5ac
parent3494a6e7ac81d9f27da8acf28f14b72dedd8d11f
Thread options & clone events (native Linux)

This commit teaches the native Linux target about the GDB_TO_CLONE
thread option.  It's actually simpler to just continue reporting all
clone events unconditionally to the core.  There's never any harm in
reporting a clone event when the option is disabled.  All we need to
do report support for the option, otherwise GDB falls back to use
target_thread_events().

Change-Id: If271f20320d864f074d8ac0d531cc1a323da847f
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19675
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27830
gdb/linux-nat.c
gdb/linux-nat.h