From 9d736fbf01d20bc03804fa0cb49d99fdf6628fab Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 22 Mar 2017 11:19:44 +0000 Subject: [PATCH] Import sys in gdb/python/lib/gdb/printer/bound_registers.py Pick up missing bits from the patch merged in. 2017-03-22 Jonah Graham PR gdb/19637 * python/lib/gdb/printer/bound_registers.py: Import sys. --- gdb/ChangeLog | 5 +++++ gdb/python/lib/gdb/printer/bound_registers.py | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aebfb75583a..547e20e1631 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 104ea7fb105..96013fc51b8 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: -- 2.30.2