Update wt_debug_script_update.py to use gdb.Command classes

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: