gdb: handle uninitialized folly_async_stack_root_tls_key
Summary: This fixes the gdb script to handle folly_async_stack_root_tls_key being uninitialized -- this means that no async operation has run on this thread previously. This also catches any errors raised by the `co_bt` command to help with debugging the script itself, and to allow `thread apply all co_bt` to process all threads, even if one thread has an error. Reviewed By: yfeldblum Differential Revision: D27180105 fbshipit-source-id: d6b36bdbc11b94a2f956862fc7651376e1d28af0
Showing
Please register or sign in to comment