[Lldb-commits] [lldb] 68ab7ac - [LLDB] Add "frame select" as equivalent of GDB's "frame" command

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 7 02:30:13 PDT 2022


Author: David Spickett
Date: 2022-10-07T09:30:05Z
New Revision: 68ab7accc72bffe4d27a1b2ee50105c7ffda54cf

URL: https://github.com/llvm/llvm-project/commit/68ab7accc72bffe4d27a1b2ee50105c7ffda54cf
DIFF: https://github.com/llvm/llvm-project/commit/68ab7accc72bffe4d27a1b2ee50105c7ffda54cf.diff

LOG: [LLDB] Add "frame select" as equivalent of GDB's "frame" command

This is useful for answering the question "where am I?" and is surprisingly
difficult to figure out without just doing another step command.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D134873

Added: 
    

Modified: 
    lldb/docs/use/map.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index 569649a0b2a59..0447b24a88aed 100644
--- a/lldb/docs/use/map.rst
+++ b/lldb/docs/use/map.rst
@@ -410,6 +410,20 @@ Execution Commands
                </td>
          </tr>
 
+         <tr>
+               <td class="header" colspan="2">Show the current frame and source line.</td>
+         </tr>
+         <tr>
+               <td class="content">
+                  <b>(gdb)</b> frame
+               </td>
+               <td class="content">
+                  <b>(lldb)</b> frame select
+                  <b>(lldb)</b> f
+                  <b>(lldb)</b> process status
+               </td>
+         </tr>
+
       </tbody>
    </table>
 


        


More information about the lldb-commits mailing list