This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/19637] New: bound_registers.py uses type "long", but long merged with "int" in python3
- From: "douglas.j.anderson at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 14 Feb 2016 19:34:35 +0000
- Subject: [Bug gdb/19637] New: bound_registers.py uses type "long", but long merged with "int" in python3
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19637
Bug ID: 19637
Summary: bound_registers.py uses type "long", but long merged
with "int" in python3
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: douglas.j.anderson at gmail dot com
Target Milestone: ---
Created attachment 8987
--> https://sourceware.org/bugzilla/attachment.cgi?id=8987&action=edit
diff to use "int" type instead of "long"
When using gdb's register view, I get the following exception:
Python Exception <class 'NameError'> name 'long' is not defined:
Using Ubuntu 15.10 with:
$ gdb --version
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
$ python3 --version
Python 3.4.3+
I've confirmed the issue still exists with gdb HEAD
The attached diff against git HEAD fixed the issue.
-Doug
--
You are receiving this mail because:
You are on the CC list for the bug.