The gdb dump handle script dumps the in-memory btree from the live tree of the file. As WT supported checkpoint cursors, it is possible that the checkpoint dhandles are also loaded into memory.
Enhance the gdb dump script to support dumping the in-memory btree of the checkpoint dhandle.