<rdar://problem/13404189>
Made the "--reverse" option to "source list" also be able to use the "--count". This helps us implement support for regexp source list command: (lldb) l -10 Which gets turned into: (lldb) source list --reverse --count 10 Also simplified the code that is used to track showing more source from the last file and line. llvm-svn: 176961
Showing
- lldb/include/lldb/Core/SourceManager.h 8 additions, 9 deletionslldb/include/lldb/Core/SourceManager.h
- lldb/source/Commands/CommandObjectSource.cpp 27 additions, 11 deletionslldb/source/Commands/CommandObjectSource.cpp
- lldb/source/Core/SourceManager.cpp 65 additions, 83 deletionslldb/source/Core/SourceManager.cpp
- lldb/source/Interpreter/CommandInterpreter.cpp 1 addition, 0 deletionslldb/source/Interpreter/CommandInterpreter.cpp
Loading
Please register or sign in to comment