aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-unwind.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-unwind.py')
-rw-r--r--gdb/testsuite/gdb.python/py-unwind.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.python/py-unwind.py b/gdb/testsuite/gdb.python/py-unwind.py
index dbabb00..4e110c5 100644
--- a/gdb/testsuite/gdb.python/py-unwind.py
+++ b/gdb/testsuite/gdb.python/py-unwind.py
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import gdb
-from gdb.unwinder import Unwinder
+from gdb.unwinder import Unwinder, FrameId
# These are set to test whether invalid register names cause an error.
@@ -22,20 +22,6 @@ add_saved_register_error = False
read_register_error = False
-class FrameId(object):
- def __init__(self, sp, pc):
- self._sp = sp
- self._pc = pc
-
- @property
- def sp(self):
- return self._sp
-
- @property
- def pc(self):
- return self._pc
-
-
class TestUnwinder(Unwinder):
AMD64_RBP = 6
AMD64_RSP = 7