diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aebfb75583..547e20e163 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-03-22 Jonah Graham + + PR gdb/19637 + * python/lib/gdb/printer/bound_registers.py: Import sys. + 2017-03-21 Simon Marchi * windows-nat.c (do_windows_fetch_inferior_registers): Add diff --git a/gdb/python/lib/gdb/printer/bound_registers.py b/gdb/python/lib/gdb/printer/bound_registers.py index 104ea7fb10..96013fc51b 100644 --- a/gdb/python/lib/gdb/printer/bound_registers.py +++ b/gdb/python/lib/gdb/printer/bound_registers.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +import sys + import gdb.printing if sys.version_info[0] > 2: