diff options
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/gdb/mongo.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildscripts/gdb/mongo.py b/buildscripts/gdb/mongo.py index 83841075f7f..cced216b659 100644 --- a/buildscripts/gdb/mongo.py +++ b/buildscripts/gdb/mongo.py @@ -331,7 +331,10 @@ class DumpMongoDSessionCatalog(gdb.Command): val = get_boost_optional(txn_part['_txnResourceStash']) if val: locker_addr = val["_locker"]["_M_t"]['_M_head_impl'] + locker_obj = locker_addr.dereference().cast( + gdb.lookup_type("mongo::LockerImpl")) print('_txnResourceStash._locker', "@", locker_addr) + print("_txnResourceStash._locker._id", "=", locker_obj["_id"]) else: print('_txnResourceStash', "=", None) # Separate sessions by a newline. |