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 13:41:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-15423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou reassigned ARROW-15423:
--------------------------------------

    Assignee: Antoine Pitrou

> [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
>            Assignee: Antoine Pitrou
>            Priority: Major
>             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)