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>
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to