Summary:
There was a recent change in boost compatibility that changed fibers internals and thus broke this script.
This diff fixes gdb script to properly print stack trace for fibers.
Reviewed By: yfeldblum
Differential Revision:
D4214575
fbshipit-source-id:
4bf69e9b297c7539a2b2b71093998c30d6a2d81c
$fiber->state_ != folly::fibers::Fiber::NOT_STARTED && \
$fiber->state_ != folly::fibers::Fiber::RUNNING
printf " Backtrace:\n"
- set $frameptr = ((uint64_t*)$fiber->fcontext_.context_)[6]
+ set $frameptr = ((uint64_t*)$fiber->fiberImpl_.fiberContext_)[6]
set $k = 0
while $frameptr != 0
printf " #%d at %p in ", $k, *((void**)($frameptr+8))