You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/01/24 10:27:00 UTC

[jira] [Created] (ARROW-15423) [C++][Dev] Make GDB plugin auto-load friendly

Antoine Pitrou created ARROW-15423:
--------------------------------------

             Summary: [C++][Dev] Make GDB plugin auto-load friendly
                 Key: ARROW-15423
                 URL: https://issues.apache.org/jira/browse/ARROW-15423
             Project: Apache Arrow
          Issue Type: Task
          Components: C++, Developer Tools
            Reporter: Antoine Pitrou
             Fix For: 8.0.0


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:
{code:python}
def register(obj):
    if obj is None:
        obj = gdb

    obj.pretty_printers.append(pretty_printer_lookup)

register(gdb.current_objfile())
{code}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)