You are not logged in.

#1 2017-10-11 11:39:53

EFanZh
Member
Registered: 2017-10-11
Posts: 2

What is the equivalent package of python3.6-dbg from Debian?

Debian has packages like python2.7-dbg and python3.6-dbg that extends GDB to debug Python programs. They provide GDB commands listed here.

I can’t find an equivalent package in Arch Linux, even not in AUR. Is there some packages I can use to extend GDB to support commands like “py-bt”?

Offline

#2 2017-10-11 11:47:42

slithery
Member
Registered: 2013-12-01
Posts: 1,850

Re: What is the equivalent package of python3.6-dbg from Debian?

Welcomre to the forums EFanZh smile

Arch doesn't provide debug packages, but you can use the ABS to build your own version with debug enabled.
https://wiki.archlinux.org/index.php/De … ing_Traces

Last edited by slithery (2017-10-11 11:48:56)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan

aur - dotfiles

Offline

#3 2017-10-11 22:12:39

Eschwartz
Bug Wrangler
Registered: 2014-08-08
Posts: 1,176

Re: What is the equivalent package of python3.6-dbg from Debian?

Well, makepkg and pacman support debug packages just fine. But it currently isn't enabled when building repository packages because no one has written the patches for dbscripts to handle special debug repositories. smile

Offline

#4 2017-10-12 01:37:30

EFanZh
Member
Registered: 2017-10-11
Posts: 2

Re: What is the equivalent package of python3.6-dbg from Debian?

I do not need a debug version Python. I just want a python script to extend GDB so that I can use “py-bt” command in GDB.

The original script can be found here, python3.6-gdb from Debian put this script at /usr/share/gdb/auto-load/usr/bin/python3.6m-gdb.py so that GDB can load it automatically.

I know I could write a PKGBUILD to make a package for Arch Linux that does the same thing, but is there some existing package I can use directly?

Offline

#5 2017-10-12 01:53:48

Trilby
Forum Fellow
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 17,260
Website

Re: What is the equivalent package of python3.6-dbg from Debian?

Offline

Board footer

Powered by FluxBB