Import sys in gdb/python/lib/gdb/printer/bound_registers.py
authorJonah Graham <jonah@kichwacoders.com>
Wed, 22 Mar 2017 11:19:44 +0000 (11:19 +0000)
committerYao Qi <yao.qi@linaro.org>
Wed, 22 Mar 2017 11:22:07 +0000 (11:22 +0000)
Pick up missing bits from the patch merged in.

2017-03-22  Jonah Graham  <jonah@kichwacoders.com>

PR gdb/19637
* python/lib/gdb/printer/bound_registers.py: Import sys.

gdb/ChangeLog
gdb/python/lib/gdb/printer/bound_registers.py

index aebfb75583aeef971920cb0ce15bb69cac936fbd..547e20e1631ce5be152ead80a832bdc277ba12a2 100644 (file)
@@ -1,3 +1,8 @@
+2017-03-22  Jonah Graham  <jonah@kichwacoders.com>
+
+       PR gdb/19637
+       * python/lib/gdb/printer/bound_registers.py: Import sys.
+
 2017-03-21  Simon Marchi  <simon.marchi@ericsson.com>
 
        * windows-nat.c (do_windows_fetch_inferior_registers): Add
index 104ea7fb105a4244833390b4d1ae0217a943d0e2..96013fc51b86ee35cf513130c1beea2e93c06f31 100644 (file)
@@ -14,6 +14,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+import sys
+
 import gdb.printing
 
 if sys.version_info[0] > 2: