Bug 17525 - Python traceback when running gdb (should run with python3?)
Summary: Python traceback when running gdb (should run with python3?)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 18:51 CET by Rémi Verschelde
Modified: 2017-05-19 23:36 CEST (History)
1 user (show)

See Also:
Source RPM: gdb
CVE:
Status comment:


Attachments

Description Rémi Verschelde 2016-01-18 18:51:10 CET
Hi get this Python traceback when running gdb in cauldron:

---
$ gdb
Traceback (most recent call last):
  File "/usr/share/gdb/python/gdb/__init__.py", line 144, in auto_load_packages
    __import__(modname)
  File "/usr/share/gdb/python/gdb/command/pahole.py", line 58
    print (' /* %3d %3d */' % (int (bitpos / 8), int (fieldsize / 8)), end = "")
                                                                           ^
SyntaxError: invalid syntax
---

(and then it starts and work apparently fine)

I guess it might need to run with python3 instead of python2?
Barry Jackson 2016-03-09 18:44:44 CET

CC: (none) => zen25000

Comment 1 Rémi Verschelde 2017-05-19 23:36:55 CEST
Works fine now.

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.