This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19637] New: bound_registers.py uses type "long", but long merged with "int" in python3


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]