You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gdb plugin should be packaged appropriately. I'm not sure where/under which form.
For example, on Ubuntu, GDB auto-load scripts are under /usr/share/gdb/auto-load/....
So, if a Arrow package installs /usr/lib/x86_64-linux-gnu/libarrow.so.700.0.0, the gdb_arrow.py script could be installed as /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libarrow.so.700.0.0-gdb.py.
(take the realpath of the installed DLL, prefix it with the GDB scripts-directory such as /usr/share/gdb/auto-load/, and append -gdb.py at the end of the filename)
Kouhei Sutou / @kou:
Note: We can implement /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libarrow.so.700.0.0-gdb.py by import like GLib's -gdb.py does:
import sys
import gdb
dir_ = '/usr/share/arrow/gdb'
if not dir_ in sys.path:
sys.path.insert(0, dir_)
import gdb_arrow
The gdb plugin should be packaged appropriately. I'm not sure where/under which form.
For example, on Ubuntu, GDB auto-load scripts are under
/usr/share/gdb/auto-load/...
.So, if a Arrow package installs
/usr/lib/x86_64-linux-gnu/libarrow.so.700.0.0
, thegdb_arrow.py
script could be installed as/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libarrow.so.700.0.0-gdb.py
.(take the
realpath
of the installed DLL, prefix it with the GDBscripts-directory
such as/usr/share/gdb/auto-load/
, and append-gdb.py
at the end of the filename)Reporter: Antoine Pitrou / @pitrou
Assignee: Kouhei Sutou / @kou
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-15422. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: