[Lldb-commits] [PATCH] Add a new command "frame dump" to dump the current stack frame displaying sp and fp registers.

Deepak Panickal deepak2427 at gmail.com
Wed Jul 23 09:44:22 PDT 2014


(lldb) help frame dump    
   Dump the current stack frame

Syntax: frame dump

(lldb) frame dump   
frame #0: 0x000050dc hello`foo + 4 at hello.c:10
      0x041100e0: 1f 1f 1f 1f 
      0x041100e4: 1f 1f 1f 1f 
sp>0x041100e8: ef be be ba 
      0x041100ec: ef be be ba 
fp> 0x041100f0: 28 01 11 04 
      0x041100f4: 1c 51 00 00   hello`main + 40 at hello.c:17
      0x041100f8: ef be be ba 
(lldb)

http://reviews.llvm.org/D4640

Files:
  source/Commands/CommandObjectFrame.cpp
  source/Commands/CommandObjectRegister.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4640.11812.patch
Type: text/x-patch
Size: 6341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140723/e03ac1c7/attachment.bin>


More information about the lldb-commits mailing list