Page MenuHomePhabricator

Add a new command "frame dump" to dump the current stack frame displaying sp and fp registers.
Needs ReviewPublic

Authored by deepak2427 on Jul 23 2014, 9:44 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

(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)

Diff Detail

Event Timeline

deepak2427 updated this revision to Diff 11812.Jul 23 2014, 9:44 AM
deepak2427 retitled this revision from to Add a new command "frame dump" to dump the current stack frame displaying sp and fp registers..
deepak2427 updated this object.
deepak2427 edited the test plan for this revision. (Show Details)
deepak2427 added a subscriber: Unknown Object (MLST).