This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9d736fbf01d20bc03804fa0cb49d99fdf6628fab

commit 9d736fbf01d20bc03804fa0cb49d99fdf6628fab
Author: Jonah Graham <jonah@kichwacoders.com>
Date:   Wed Mar 22 11:19:44 2017 +0000

    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  <jonah@kichwacoders.com>
    
    	PR gdb/19637
    	* python/lib/gdb/printer/bound_registers.py: Import sys.

Diff:
---
 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 aebfb75..547e20e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/python/lib/gdb/printer/bound_registers.py b/gdb/python/lib/gdb/printer/bound_registers.py
index 104ea7f..96013fc 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 <http://www.gnu.org/licenses/>.
 
+import sys
+
 import gdb.printing
 
 if sys.version_info[0] > 2:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]