[Lldb-commits] [PATCH] D122998: use just '#' instead of 'frame #2' in the threads/frame view
Luboš Luňák via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 4 23:30:59 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf90fa55569fc: [lldb][gui] use just '#2' instead of 'frame #2' in the threads/frame view (authored by llunak).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122998/new/
https://reviews.llvm.org/D122998
Files:
lldb/source/Core/IOHandlerCursesGUI.cpp
lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py
Index: lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py
===================================================================
--- lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py
+++ lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py
@@ -33,7 +33,7 @@
self.child.expect_exact("Threads")
# The thread running thread_start_routine should be expanded.
- self.child.expect_exact("frame #0: break_here")
+ self.child.expect_exact("#0: break_here")
# Exit GUI.
self.child.send(escape_key)
@@ -47,7 +47,7 @@
self.child.expect_exact("Threads")
# The main thread should be expanded.
- self.child.expect("frame #\d+: main")
+ self.child.expect("#\d+: main")
# Quit the GUI
self.child.send(escape_key)
Index: lldb/source/Core/IOHandlerCursesGUI.cpp
===================================================================
--- lldb/source/Core/IOHandlerCursesGUI.cpp
+++ lldb/source/Core/IOHandlerCursesGUI.cpp
@@ -5016,8 +5016,7 @@
public:
FrameTreeDelegate() : TreeDelegate() {
FormatEntity::Parse(
- "frame #${frame.index}: {${function.name}${function.pc-offset}}}",
- m_format);
+ "#${frame.index}: {${function.name}${function.pc-offset}}}", m_format);
}
~FrameTreeDelegate() override = default;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122998.420392.patch
Type: text/x-patch
Size: 1403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220405/2a59f7d1/attachment.bin>
More information about the lldb-commits
mailing list