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

Include external functions in GDB auto loading

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • StorEng - Defined Pipeline

      Summary
      WiredTiger recently added some GDB functions to the repository (WT-8158), and is planning to improve how those scripts are auto-loaded.

      There are some external GDB functions that might also be useful for WiredTiger developers, for example this in MongoDB.

      It would be nice to figure out how to auto download and load that file for WiredTiger developers as well.

      Bonus points for finding other GDB functions that make GDB usage better and including them as well.

      Double bonus points for optionally checking for updates and downloading new versions.

      If including this in the GDB auto-loading functionality is hard, we could consider adding a script to the dist/s_all suite of scripts that pulls the files down.

      • Does this affect any team outside of WT?
        No
      • Is this issue urgent?
        Not particularly.
      • Testing
        Test that the auto-download works and the functions become available in GDB automatically.
      • Documentation update

      Add some comments to the tools/gdb directory somewhere describing what is going on and how it works.

      [Optional] Suggested Solution
      (Is there any suggested solution to handle this issue? Is it related to any existing WT ticket? Is it related to any previous issue fixed? If yes, link the WT ticket number using related to, depends on, dependent on by links)

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: