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.
This commit is contained in:
Jonah Graham 2017-03-22 11:19:44 +00:00 committed by Yao Qi
parent 3e6c756700
commit 9d736fbf01
2 changed files with 7 additions and 0 deletions

View 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> 2017-03-21 Simon Marchi <simon.marchi@ericsson.com>
* windows-nat.c (do_windows_fetch_inferior_registers): Add * windows-nat.c (do_windows_fetch_inferior_registers): Add

View File

@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import gdb.printing import gdb.printing
if sys.version_info[0] > 2: if sys.version_info[0] > 2: