[Lldb-commits] [PATCH] D134873: [LLDB] Add "process status" as equivalent of GDB's "frame" command

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 29 09:48:08 PDT 2022


jingham added a comment.

`f` with no input does this job:

  (lldb) f
  frame #1: 0x0000000100003f70 callem`nothing at callem.c:3
     1   	int nothing(int input) {
     2   	  if (input < 10) {
  -> 3   	    return nothing(++input);
      	           ^
     4   	  }
     5   	  return input;
     6   	}
     7   	
  (lldb) up
  frame #2: 0x0000000100003f70 callem`nothing at callem.c:3
     1   	int nothing(int input) {
     2   	  if (input < 10) {
  -> 3   	    return nothing(++input);
      	           ^
     4   	  }
     5   	  return input;
     6   	}
     7   	
  (lldb) f
  frame #2: 0x0000000100003f70 callem`nothing at callem.c:3
     1   	int nothing(int input) {
     2   	  if (input < 10) {
  -> 3   	    return nothing(++input);
      	           ^
     4   	  }
     5   	  return input;
     6   	}
     7   	
  (lldb) 

etc...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134873/new/

https://reviews.llvm.org/D134873



More information about the lldb-commits mailing list