From: Jonah Graham Date: Wed, 22 Mar 2017 11:19:44 +0000 (+0000) Subject: Import sys in gdb/python/lib/gdb/printer/bound_registers.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d736fbf01d20bc03804fa0cb49d99fdf6628fab;p=binutils-gdb.git 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. --- 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: