re PR other/65366 (gdbhooks.py is incompatible with Python3)
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 8 Jun 2015 13:35:51 +0000 (13:35 +0000)
committerJan Kratochvil <jkratoch@gcc.gnu.org>
Mon, 8 Jun 2015 13:35:51 +0000 (13:35 +0000)
commit74103219e877e4b972e9ed178448fdee6dd223a6
treef7d753caed622f75c3f09b147cd40a323ce3bb64
parentc00f4f5fb3f0b482cc50d459b0f89af4ddb0ec1a
re PR other/65366 (gdbhooks.py is incompatible with Python3)

PR other/65366
* gdbhooks.py: Import sys.
(intptr): New function.  Replace int(...) by intptr(...).

From-SVN: r224223
gcc/ChangeLog
gcc/gdbhooks.py