You are not logged in.
Hi,
does someone know if there is a reason gdb in extra is build without python support?
python is listed as a dependency in the PKGBUILD but the "--with-python=/usr/bin/python2" flag is missing.
should i report a bug?
Offline
I am fairly sure that flag is not actually needed as python is autodetected... I could be wrong though.
Offline
It says it did add python scripting: http://projects.archlinux.org/svntogit/ … 2a163fa8db and the bug report it links to https://bugs.archlinux.org/task/16525 says
just building it in a python aware environment lets gdb pick up the dependency automatically
Last edited by karol (2011-07-31 01:10:54)
Offline
when i use the gdb package from extra i get
$ gdb
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
/home/anton/.gdbinit:8: Error in sourced command file:
Python scripting is not supported in this copy of GDB.
(gdb) python print "foo"
Python scripting is not supported in this copy of GDB.
(gdb)whit the flag set in the PKGBULD it works for me
$ gdb
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) python print "foo"
foo
(gdb)Offline
I really have no idea, maybe the one from extra wasn't built in a "python aware environment"?
I think you should open a bug report.
Offline
Looks like with gdb-7.3 you have to explicitly enable it, unlike gdb-7.2.... Do not worry about the bug report. A fixed package is on its way.
Offline