- Mar 08, 2011
-
-
Jim Ingham authored
Add a method "GetEntryPoint" to the ObjectFile class, and implement it on MachO & ELF - though the ELF implementation is probably a little weak. Then use this method in place of directly looking for "start" in the ThreadPlanCallFunction constructor to find the stopping point for our function evaluation. llvm-svn: 127194
-
Caroline Tice authored
Add thread state initialization to the thread where the interactive interpreter is run (which is separate from the thread where Py_Initialize is called, where this normally gets set up). llvm-svn: 127191
-
- Mar 07, 2011
-
-
Greg Clayton authored
then we end up using older .o files with out of date section remappings if we debug, compile + fix, and debug again. llvm-svn: 127166
-
- Mar 05, 2011
-
-
Johnny Chen authored
API with a process not in eStateConnected, and checks that the remote launch failed. Modify SBProcess::RemoteLaunch()/RemoteAttachToProcessWithID()'s log statements to fix a crasher when logging is turned on. llvm-svn: 127055
-
Greg Clayton authored
It will just load all files exactly where the files state they are (file addresses == load addresses). This is used when the llvm::Triple::OSType is set to llvm::Triple::UnknownOS or llvm::Triple::NoOS. llvm-svn: 127053
-
- Mar 04, 2011
-
-
Greg Clayton authored
chosing which FP back-chain methods to use since we can rely upon generic register numbers after that. llvm-svn: 127044
-
James McIlree authored
Patch verified by Greg Clayton prior to checkin. llvm-svn: 126974
-
Sean Callanan authored
or 'self' variable was not properly read if the compiler optimized it into a register. llvm-svn: 126973
-
- Mar 03, 2011
-
-
Caroline Tice authored
Add code to emulate RFE Arm instruction. Add new instruction context for RFE instruction. Add several new helper functions to help emulate RFE instruction (including CurrentModeIsPrivileged, BadMode, and CPSRWriteByInstr). llvm-svn: 126965
-
Caroline Tice authored
Add code to emulate UXTH Arm instruction. llvm-svn: 126954
-
Caroline Tice authored
Add code to emulate UXTB Arm instruction. llvm-svn: 126953
-
Caroline Tice authored
Add code to emulate SXTH Arm instruction. llvm-svn: 126951
-
Caroline Tice authored
Add code to emulate SXTB Arm instruction. llvm-svn: 126949
-
Caroline Tice authored
Fix bug where bitwise-AND was being used and it should have been bitwise-OR. llvm-svn: 126904
-
Caroline Tice authored
Add code to emulate ADD (immediate, Thumb) Arm instruction. Add addition context to EmulateInstruction contexts. llvm-svn: 126903
-
Greg Clayton authored
and symbols, and also allow clients to get the prologue size in bytes: SBAddress SBFunction::GetStartAddress (); SBAddress SBFunction::GetEndAddress (); uint32_t SBFunction::GetPrologueByteSize (); SBAddress SBSymbol::GetStartAddress (); SBAddress SBSymbol::GetEndAddress (); uint32_t SBSymbol::GetPrologueByteSize (); llvm-svn: 126892
-
- Mar 02, 2011
-
-
Caroline Tice authored
Add code to emulate MUL Arm instruction. Add new context type & info structure for mul instruction. llvm-svn: 126891
-
Greg Clayton authored
anything in a SBSymbolContext filled in given an SBAddress: SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress& addr, uint32_t resolve_scope); Also did a little cleanup on the ProcessGDBRemote stdio file handle code. llvm-svn: 126885
-
Caroline Tice authored
Add code to emulate LDRSH (register) Arm instruction. llvm-svn: 126881
-
Caroline Tice authored
Add code to emulate LDRSH (literal) Arm instruction. llvm-svn: 126866
-
Caroline Tice authored
Add code to emulate LDRSH (immediate) Arm instruction. llvm-svn: 126807
-
Caroline Tice authored
Add code to emulate LDRSB (register) Arm instruction. llvm-svn: 126802
-
- Mar 01, 2011
-
-
Johnny Chen authored
among other SBProcess APIs, to write (int)256 into a memory location of a global variable (int)my_int and reads/checks the variable afterwards. llvm-svn: 126792
-
Caroline Tice authored
Add code to emulate LDRSB (literal) Arm instruction. llvm-svn: 126789
-
Caroline Tice authored
Add code to emulate LDRSB (immediate) Arm instruction. llvm-svn: 126783
-
Caroline Tice authored
Add code to emulate LDRH (register) Arm instruction. llvm-svn: 126758
-
Caroline Tice authored
Add code to emulate LDRH (literal) Arm instruction. llvm-svn: 126709
-
- Feb 28, 2011
-
-
Stephen Wilson authored
Add register context for i386 on Linux. Patch by Marco Minutoli! llvm-svn: 126696
-
Caroline Tice authored
Add code to emulate LDRH (immediate, Thumb) arm instruction. llvm-svn: 126692
-
- Feb 25, 2011
-
-
Johnny Chen authored
llvm-svn: 126456
-
- Feb 24, 2011
-
-
Greg Clayton authored
Modifed lldb_private::Process to be able to handle connecting to a remote target that isn't running a process. This leaves lldb_private::Process in the eStateConnected state from which we can then do an attach or launch. Modified ProcessGDBRemote to be able to set stdin, stdout, stderr, working dir, disable ASLR and a few other settings down by using new GDB remote packets. This allows us to keep all of our current launch flags and settings intact and still be able to communicate them over to the remote GDB server. Previously these were being sent as arguments to the debugserver binary that we were spawning. Also modified ProcessGDBRemote to handle losing connection to the remote GDB server and always exit immediately. We do this by watching the lldb_private::Communication event bit for the read thread exiting in the ProcessGDBRemote async thread. Added support for many of the new 'Q' packets for setting stdin, stdout, stderr, working dir and disable ASLR to the GDBRemoteCommunication class for easy accesss. Modified debugserver for all of the new 'Q' packets and also made it so that debugserver always exists if it loses connection with the remote debugger. llvm-svn: 126444
-
Johnny Chen authored
llvm-svn: 126442
-
Jim Ingham authored
When making a DataExtractor from a Value that's got a ClangType, set the AddressByteSize from the AST Context. llvm-svn: 126433
-
Johnny Chen authored
switch to Jazelle state fails, thus treating BXJ as a BX operation. llvm-svn: 126423
-
Stephen Wilson authored
llvm-svn: 126406
-
Stephen Wilson authored
Also fix a bug where we were not lazily parsing the ELF header and thus returning an ArchSpec with invalid cpu type components. Initialize the cpu subtype as LLDB_INVALID_CPUTYPE for compatibility with the new ArchSpec implementation. llvm-svn: 126405
-
Stephen Wilson authored
Previously we were using a set of preprocessor defines and returning an ArchSpec without any OS/Vendor information. This fixes an issue with plugin resolution on Linux where a valid OS component is needed. llvm-svn: 126404
-
Stephen Wilson authored
The major issue this patch solves is that ArchSpec::SetTriple no longer depends on the implementation of Host::GetArchitecture. On linux, Host::GetArchitecture calls ArchSpec::SetTriple, thus blowing the stack. A second smaller point is that SetTriple now defaults to Host defined components iff all OS, vendor and environment fields are not set. llvm-svn: 126403
-
Johnny Chen authored
llvm-svn: 126355
-
Johnny Chen authored
llvm-svn: 126343
-