Commit cad41641 authored by Misha Shneerson's avatar Misha Shneerson Committed by Facebook Github Bot

fix gbd debugging script

Summary:
I was getting an error when running commands in
https://our.intern.facebook.com/intern/dex/fibers/gdb/

Reviewed By: andriigrynenko

Differential Revision: D4283229

fbshipit-source-id: fe45847d0ec6cadfbce6fe9818066cce3e275a46
parent dd9cce30
......@@ -82,8 +82,8 @@ end
# Print global FiberManager map
define print_folly_fiber_manager_map
set $global_cache=*(('folly::fibers::(anonymous namespace)::GlobalCache'**) \
&'folly::fibers::(anonymous namespace)::GlobalCache::instance()::ret')
set $global_cache=*(('folly::fibers::(anonymous namespace)::GlobalCache<folly::EventBase>'**) \
&'folly::fibers::(anonymous namespace)::GlobalCache<folly::EventBase>::instance()::ret')
printf " Global FiberManager map has %d entries.\n", \
$global_cache->map_->_M_h->_M_element_count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment