- Apr 26, 2011
-
-
Johnny Chen authored
llvm-svn: 130158
-
- Apr 25, 2011
-
-
Greg Clayton authored
llvm-svn: 130156
-
Greg Clayton authored
llvm-svn: 130155
-
Greg Clayton authored
llvm-svn: 130154
-
Johnny Chen authored
i.e., with 'SBStream &description' first, followed by 'DescriptionLevel level'. Modify lldbutil.py so that get_description() for a target or breakpoint location can just take the lldb object itself without specifying an option to mean option lldb.eDescriptionLevelBrief. Modify TestTargetAPI.py to exercise this logic path. llvm-svn: 130147
-
Greg Clayton authored
in a Utility directory. llvm-svn: 130135
-
Johnny Chen authored
llvm-svn: 130134
-
Johnny Chen authored
llvm-svn: 130133
-
- Apr 23, 2011
-
-
Greg Clayton authored
inline contexts when the deepest most block is not inlined. Added source path remappings to the lldb_private::Target class that allow it to remap paths found in debug info so we can find source files that are elsewhere on the current system. Fixed disassembly by function name to disassemble inline functions that are inside other functions much better and to show enough context before the disassembly output so you can tell where things came from. Added the ability to get more than one address range from a SymbolContext class for the case where a block or function has discontiguous address ranges. llvm-svn: 130044
-
Johnny Chen authored
llvm-svn: 130041
-
Johnny Chen authored
and use it from TestTargetAPI.py. llvm-svn: 130038
-
Jim Ingham authored
pointer to a ValueObject or any of its dependent ValueObjects, and the whole cluster will stay around as long as that shared pointer stays around. llvm-svn: 130035
-
Johnny Chen authored
Add test cases for the SBTarget.GetDescription() API which takes an extra lldb::DescriptionLevel enum. llvm-svn: 130029
-
- Apr 22, 2011
-
-
Johnny Chen authored
llvm-svn: 130017
-
Johnny Chen authored
llvm-svn: 130016
-
Johnny Chen authored
before issuing the 'process connect ...' command. test_comand_regex(): assign the spawned child to self.child so it gets automatically shutdown during TestBase.tearDown(self). llvm-svn: 130015
-
Greg Clayton authored
llvm-svn: 130014
-
Greg Clayton authored
llvm-svn: 130013
-
Johnny Chen authored
llvm-svn: 130011
-
Caroline Tice authored
llvm-svn: 129993
-
Caroline Tice authored
Modify to use the new test files. llvm-svn: 129992
-
Caroline Tice authored
Reformat the emulation test data files. llvm-svn: 129991
-
Caroline Tice authored
Change code for reading emulation data files to read the new file format. (The newly formatted files will go in as a separate commit in a few minutes). llvm-svn: 129981
-
Greg Clayton authored
set by default when dumping registers. If you want to see all of the register sets you can use the "--all" option: (lldb) register read --all If you want to just see some register sets, you can currently specify them by index: (lldb) register read --set 0 --set 2 We need to get shorter register set names soon so we can specify the register sets by name without having to type too much. I will make this change soon. You can also have any integer encoded registers resolve the address values back to any code or data from the object files using the "--lookup" option. Below is sample output when stopped in the libc function "puts" with some const strings in registers: Process 8973 stopped * thread #1: tid = 0x2c03, 0x00007fff828fa30f libSystem.B.dylib`puts + 1, stop reason = instruction step into frame #0: 0x00007fff828fa30f libSystem.B.dylib`puts + 1 (lldb) register read --lookup General Purpose Registers: rax = 0x0000000100000e98 "----------------------------------------------------------------------" rbx = 0x0000000000000000 rcx = 0x0000000000000001 rdx = 0x0000000000000000 rdi = 0x0000000100000e98 "----------------------------------------------------------------------" rsi = 0x0000000100800000 rbp = 0x00007fff5fbff710 rsp = 0x00007fff5fbff280 r8 = 0x0000000000000040 r9 = 0x0000000000000000 r10 = 0x0000000000000000 r11 = 0x0000000000000246 r12 = 0x0000000000000000 r13 = 0x0000000000000000 r14 = 0x0000000000000000 r15 = 0x0000000000000000 rip = 0x00007fff828fa30f libSystem.B.dylib`puts + 1 rflags = 0x0000000000000246 cs = 0x0000000000000027 fs = 0x0000000000000000 gs = 0x0000000000000000 As we can see, we see two constant strings and the PC (register "rip") is showing the code it resolves to. I fixed the register "--format" option to work as expected. Added a setting to disable skipping the function prologue when setting breakpoints as a target settings variable: (lldb) settings set target.skip-prologue false Updated the user settings controller boolean value handler funciton to be able to take the default value so it can correctly respond to the eVarSetOperationClear operation. Did some usability work on the OptionValue classes. Fixed the "image lookup" command to correctly respond to the "--verbose" option and display the detailed symbol context information when looking up line table entries and functions by name. This previously was only working for address lookups. llvm-svn: 129977
-
Johnny Chen authored
rather than calling "process kill" explicitly at the end of the test. The test might not even reach the end because it could have failed prematurely. llvm-svn: 129963
-
Johnny Chen authored
only when the test is currently running against the relevant architecture. llvm-svn: 129960
-
Johnny Chen authored
and TestAliases.py. Pass the keyword argument 'check=False' to: self.runCmd("script my.date()", check=False) since we want to restore sys.stdout no matter what the outcome of the runCmd is. llvm-svn: 129949
-
- Apr 21, 2011
-
-
Greg Clayton authored
name had a DW_AT_name that was the same string as the DW_AT_MIPS_linkage_name, then it would get added twice to the DWARF index. llvm-svn: 129942
-
Johnny Chen authored
llvm-svn: 129937
-
Johnny Chen authored
llvm-svn: 129936
-
Johnny Chen authored
llvm-svn: 129935
-
Greg Clayton authored
OptionValueCollection class that can be subclassed to provide access to internal settings that are stored as ObjectValue subclasses. llvm-svn: 129926
-
Greg Clayton authored
so we can instantiate them, and also moved the code that can get the specific subclass for a OptionValue into the OptionValue class. llvm-svn: 129920
-
Greg Clayton authored
command. llvm-svn: 129898
-
Johnny Chen authored
llvm-svn: 129897
-
Johnny Chen authored
llvm-svn: 129895
-
Johnny Chen authored
llvm-svn: 129890
-
Greg Clayton authored
it everywhere internally. Modified the "command regex" command to be able to specify all regular expressions on the command line. For example: (lldb) command regex f s/^$/finish/ 's/([0-9]+)/frame select %1/' Also improved the error reporting when an invalid 's/<regex>/<subst>/' argument is given. llvm-svn: 129889
-
Johnny Chen authored
llvm-svn: 129885
-
Johnny Chen authored
llvm-svn: 129881
-