diff options
| author | Sean Callanan <scallanan@apple.com> | 2010-08-12 01:56:52 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2010-08-12 01:56:52 +0000 |
| commit | d1e5b439c9a48255f1f88bf99f42547a81bef07e (patch) | |
| tree | 7836354617fa7cd619bbfd8e48c442902302a9b3 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
| parent | 74491bb52c7ff7f8ddf4df715c1a43a949edefed (diff) | |
| download | llvm-d1e5b439c9a48255f1f88bf99f42547a81bef07e.zip llvm-d1e5b439c9a48255f1f88bf99f42547a81bef07e.tar.gz llvm-d1e5b439c9a48255f1f88bf99f42547a81bef07e.tar.bz2 | |
Added automatically generated result variables for each
expression. It is now possible to do things like this:
(lldb) expr int $i = 5; $i + 1
$0 = (int) 6
(lldb) expr $i + 3
$1 = (int) 8
(lldb) expr $1 + $0
$2 = (int) 14
As a bonus, this allowed us to move printing of
expression results into the ClangPersistentVariable
class. This code needs a bit of refactoring -- in
particular, ClangExpressionDeclMap has eaten one too
many bacteria and needs to undergo mitosis -- but the
infrastructure appears to be holding up nicely.
llvm-svn: 110896
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions
