- May 10, 2011
-
-
Johnny Chen authored
Add a utility function get_registers(frame, kind) to get the registers of a given frame and of a given kind. Also add three convenience functions get_GPRs(frame), get_FPRs(frame), and get_ESRs(frame) to get the general purpose registers, the floating point registers, and the exception state registers. Add TestRegistersIterator.py to test these added functions of lldbutil.py. llvm-svn: 131144
-
Johnny Chen authored
llvm-svn: 131111
-
Caroline Tice authored
Make sure writing asynchronous output only backs up & overwrites prompt if the IOChannel input reader is the top input reader. llvm-svn: 131110
-
Sean Callanan authored
treated as being permanently resident in target memory. In fact, since the expression's stack frame is deleted and potentially re-used after the expression completes, the variables need to be treated as being freeze-dried. llvm-svn: 131104
-
- May 09, 2011
-
-
Johnny Chen authored
for http://llvm.org/viewvc/llvm-project?rev=131089&view=rev. llvm-svn: 131100
-
Greg Clayton authored
llvm-svn: 131097
-
Greg Clayton authored
into some cleanup I have been wanting to do when reading/writing registers. Previously all RegisterContext subclasses would need to implement: virtual bool ReadRegisterBytes (uint32_t reg, DataExtractor &data); virtual bool WriteRegisterBytes (uint32_t reg, DataExtractor &data, uint32_t data_offset = 0); There is now a new class specifically designed to hold register values: lldb_private::RegisterValue The new register context calls that subclasses must implement are: virtual bool ReadRegister (const RegisterInfo *reg_info, RegisterValue ®_value) = 0; virtual bool WriteRegister (const RegisterInfo *reg_info, const RegisterValue ®_value) = 0; The RegisterValue class must be big enough to handle any register value. The class contains an enumeration for the value type, and then a union for the data value. Any integer/float values are stored directly in an appropriate host integer/float. Anything bigger is stored in a byte buffer that has a length and byte order. The RegisterValue class also knows how to copy register value bytes into in a buffer with a specified byte order which can be used to write the register value down into memory, and this does the right thing when not all bytes from the register values are needed (getting a uint8 from a uint32 register value..). All RegiterContext and other sources have been switched over to using the new regiter value class. llvm-svn: 131096
-
Johnny Chen authored
Fix the wrong error message for "platform process info", i.e., with no pid(s) specified for the command. llvm-svn: 131089
-
Greg Clayton authored
being returned for both the PC and FP. llvm-svn: 131081
-
Jim Ingham authored
llvm-svn: 131079
-
- May 08, 2011
-
-
Johnny Chen authored
llvm-svn: 131072
-
Johnny Chen authored
of a universal binary and 'rax' register is available when launching the x86_64 slice. rdar://problem/9403437 llvm-svn: 131069
-
Greg Clayton authored
a new "QLaunchArch:<arch-name>" where <arch-name> is the architecture name. This allows us to remotely launch a debugserver and then set the architecture for the binary we will launch. llvm-svn: 131064
-
Sean Callanan authored
they are treated as pointers of type (void*). This allows reading of environ, for instance. llvm-svn: 131063
-
Jim Ingham authored
function and if not return an error. llvm-svn: 131061
-
- May 07, 2011
-
-
Sean Callanan authored
variables be evaluated statically. Also fixed a bug that caused the results of statically-evaluated expressions to be materialized improperly. This bug also removes some duplicate code. llvm-svn: 131042
-
Jim Ingham authored
llvm-svn: 131041
-
Jim Ingham authored
llvm-svn: 131039
-
Johnny Chen authored
llvm-svn: 131038
-
Johnny Chen authored
llvm-svn: 131035
-
Johnny Chen authored
llvm-svn: 131033
-
- May 06, 2011
-
-
Caroline Tice authored
Replace calls to HandleCommand in lldb core with more appropriate direct function calls. As part of this, collect code that processes arguments & options for aliases into a single function. llvm-svn: 131020
-
Johnny Chen authored
llvm-svn: 131011
-
Jim Ingham authored
Make the log message & setter match for "dyld/shlib". The "ListLogCategories" output should really be auto-generated from the settings so you can't make this sort of mistake... llvm-svn: 131003
-
Greg Clayton authored
ValueObject is, as long as the ValueObject that is being asked to be casted is a pointer itself. llvm-svn: 130966
-
Johnny Chen authored
llvm-svn: 130965
-
Johnny Chen authored
llvm-svn: 130963
-
Johnny Chen authored
llvm-svn: 130960
-
- May 05, 2011
-
-
Johnny Chen authored
for thread in process: print >> output, print_stacktrace(thread, string_buffer=True) llvm-svn: 130940
-
Greg Clayton authored
integer and the register byte size matches the size of a pointer. This removes the "--lookup" option. llvm-svn: 130910
-
Jim Ingham authored
Fix the "target stop-hook add" input reader so that it won't say the stop hook was added if the input was interrupted. llvm-svn: 130907
-
Johnny Chen authored
o lldb.debugger o lldb.target o lldb.process o lldb.thread o lldb.frame "just works" when we stop at a breakpoint. llvm-svn: 130904
-
- May 04, 2011
-
-
Caroline Tice authored
Add ability to search backwards through command history for a particular substring, using ctrl-r key. llvm-svn: 130871
-
Johnny Chen authored
llvm-svn: 130865
-
Johnny Chen authored
llvm-svn: 130848
-
Caroline Tice authored
Minor cleanup: When asynchronous output comes along, back up over and delete the prompt before writing out the asynchronous output, rather than just going to a new line. llvm-svn: 130843
-
Jim Ingham authored
Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target, and dynamic with running target. llvm-svn: 130832
-
Johnny Chen authored
in one command invocation. llvm-svn: 130811
-
Johnny Chen authored
llvm-svn: 130806
-
Johnny Chen authored
llvm-svn: 130804
-