mono-sgen-gdb.py needs to be ported to Python 3

Bug #1358464 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
New
Undecided
Unassigned

Bug Description

While trying to get gdb stacktrace information for the crash in LP: #1344386 I ran into a problem with the script in summary. I had to manually hack this file to get gdb to not produce SyntaxErrors. Mostly it's just putting

from __future__ import print_function

at the top (for Py 2/3 compatibility) and changing print statements to print() functions. There is a weirdness at line 34 with the unicode character creation. I just added an extra backslash, but that may not be correct (at least it doesn't crash!)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.