Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11881

Update wt_debug_script_update.py to use gdb.Command classes

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: GDB Scripts
    • 5
    • StorEng - Defined Pipeline

      The gdb helper script wt_debug_script_update.py currently needs to modified by uncommenting the lines at the top of the file and then executed using `source wt_debug_script_update.py`.

      We should update this script to define each of the functions in the file as a class extending gdb.Command. This will let us call the functions without needing to modify or reload the script, and once WT-9287 is merged they will be auto-loaded.
      See dump_insert_list.py for an example usage of gdb.Command classes

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: