Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36167

Add pretty printer for WT `flags` members

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-07-30

      WT uses a standard `flags` field across multiple structures that is implemented as a bitset. Each structure uses a set of sorted define statements.

      It would be nice if there was a GDB pretty printer that additionally gave a string readable form with the `flag` member value. This would require the source file being present and checked out to the right version. That seems like a reasonable requirement because flag values can change between commits; having the proper file is necessary for a human to know what flags are set.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: