summaryrefslogtreecommitdiffstats
path: root/lldb/test/bitfields/TestBitfields.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/bitfields/TestBitfields.py')
-rw-r--r--lldb/test/bitfields/TestBitfields.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/bitfields/TestBitfields.py b/lldb/test/bitfields/TestBitfields.py
index 3db3a1da54a..f99c6e6e3bf 100644
--- a/lldb/test/bitfields/TestBitfields.py
+++ b/lldb/test/bitfields/TestBitfields.py
@@ -100,9 +100,9 @@ class BitfieldsTestCase(TestBase):
# The stop reason of the thread should be breakpoint.
thread = target.GetProcess().GetThreadAtIndex(0)
if thread.GetStopReason() != lldb.eStopReasonBreakpoint:
- from lldbutil import StopReasonString
+ from lldbutil import stop_reason_to_str
self.fail(STOPPED_DUE_TO_BREAKPOINT_WITH_STOP_REASON_AS %
- StopReasonString(thread.GetStopReason()))
+ stop_reason_to_str(thread.GetStopReason()))
# The breakpoint should have a hit count of 1.
self.assertTrue(breakpoint.GetHitCount() == 1, BREAKPOINT_HIT_ONCE)
OpenPOWER on IntegriCloud