Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15423

[C++][Dev] Make GDB plugin auto-load friendly

    XMLWordPrintableJSON

Details

    Description

      Ideally the GDB script should be usable both as an auto-load script and as a target for manual source invocations.

      The GLib pretty-printer does it like this:

      def register(obj):
          if obj is None:
              obj = gdb
      
          obj.pretty_printers.append(pretty_printer_lookup)
      
      register(gdb.current_objfile())
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m