- Mar 23, 2011
-
-
Stephen Wilson authored
llvm-svn: 128137
-
Stephen Wilson authored
llvm-svn: 128136
-
Stephen Wilson authored
The makefile build uses scripts/generate-vers.pl to build an appropriate LLDB_vers.c file. The declarations for these symbols now carry a liblldb_core prefix so update the script to generate the correct names. llvm-svn: 128135
-
Stephen Wilson authored
llvm-svn: 128134
-
Stephen Wilson authored
Start putting linux specific host code in its own directory. For now, just implement Host::GetOSVersion. llvm-svn: 128133
-
rdar://problem/9173060Johnny Chen authored
test suite: lldb hangs while running unique-types llvm-svn: 128131
-
Stephen Wilson authored
Add a few missing virtual methods to PlatformLinux and have it register itself with PluginManager. llvm-svn: 128128
-
Johnny Chen authored
Failures were due to new commands introduced. llvm-svn: 128125
-
Johnny Chen authored
llvm-svn: 128124
-
Greg Clayton authored
platform connect <args> platform disconnect Each platform can decide the args they want to use for "platform connect". I will need to add a function that gets the connect options for the current platform as each one can have different options and argument counts. Hooked up more functionality in the PlatformMacOSX and PlatformRemoteiOS. Also started an platform agnostic PlatformRemoteGDBServer.cpp which can end up being used by one or more actual platforms. It can also be specialized and allow for platform specific commands. llvm-svn: 128123
-
- Mar 22, 2011
-
-
Greg Clayton authored
that Stephen Wilson sent out. llvm-svn: 128116
-
Caroline Tice authored
More fixes for ARM instruction emulation code: - Remove duplicate write from EmulateLDRRtPCRelative. - Add a missing encoding to EmulateADDSPImm. - Fix minor problems in Thumb instruction tables. llvm-svn: 128115
-
Sean Callanan authored
autodetection is not yet implemented, but the structures and register reading/writing code are there. llvm-svn: 128111
-
Greg Clayton authored
GDBRemoteCommunication - The base GDB remote communication class GDBRemoteCommunicationClient - designed to be used for clients the connect to a remote GDB server GDBRemoteCommunicationServer - designed to be used on the server side of a GDB server implementation. llvm-svn: 128070
-
Jim Ingham authored
llvm-svn: 128066
-
Jim Ingham authored
Clean up a few places where SetOptionValue was using the global optarg, rather than the option_arg value that was passed in. llvm-svn: 128064
-
Jim Ingham authored
Add the ability to disassemble "n" instructions from the current PC, or the first "n" instructions in a function. Also added a "-p" flag that disassembles from the current pc. llvm-svn: 128063
-
Jim Ingham authored
llvm-svn: 128062
-
Greg Clayton authored
llvm-svn: 128061
-
Greg Clayton authored
overlap in the SWIG integration which has now been fixed by introducing callbacks for initializing SWIG for each language (python only right now). There was also a breakpoint command callback that called into SWIG which has been abtracted into a callback to avoid cross over as well. Added a new binary: lldb-platform This will be the start of the remote platform that will use as much of the Host functionality to do its job so it should just work on all platforms. It is pretty hollowed out for now, but soon it will implement a platform using the GDB remote packets as the transport. llvm-svn: 128053
-
Johnny Chen authored
command(s) right after starting up gdb. Update the README file to show an example of using these to pass '-arch armv7' to gdb and to execute gdb command to set shared library path substitutions before loading iOS4.3 sdk's /usr/lib/libSystem.B.dylib and disassembling the 'printf' function. llvm-svn: 128040
-
Johnny Chen authored
llvm-svn: 128034
-
- Mar 21, 2011
-
-
Greg Clayton authored
process ID to the ProcessInfo. llvm-svn: 128023
-
Greg Clayton authored
target. llvm-svn: 128012
-
Greg Clayton authored
system compiler when clang isn't around to do the compiling. llvm-svn: 128006
-
- Mar 20, 2011
-
-
Greg Clayton authored
static archive that can be linked against. LLDB.framework/lldb.so exports a very controlled API. Splitting the API into a static library allows other tools (debugserver for now) to use the power of the LLDB debugger core, yet not export it as its API is not portable or maintainable. The Host layer and many of the other internal only APIs can now be statically linked against. Now LLDB.framework/lldb.so links against "liblldb-core.a" instead of compiling the .o files only for the shared library. This fix is only for compiling with Xcode as the Makefile based build already does this. The Xcode projecdt compiler has been changed to LLVM. Anyone using Xcode 3 will need to manually change the compiler back to GCC 4.2, or update to Xcode 4. llvm-svn: 127963
-
- Mar 19, 2011
-
-
Johnny Chen authored
Add a utility similar to disasm.py, but which provides a shell-like environment for invoking llvm-mc. llvm-svn: 127936
-
Greg Clayton authored
platform status -- gets status information for the selected platform platform create <platform-name> -- creates a new instance of a remote platform platform list -- list all available platforms platform select -- select a platform instance as the current platform (not working yet) When using "platform create" it will create a remote platform and make it the selected platform. For instances for iPhone OS debugging on Mac OS X one can do: (lldb) platform create remote-ios --sdk-version=4.0 Remote platform: iOS platform SDK version: 4.0 SDK path: "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0" Not connected to a remote device. (lldb) file ~/Documents/a.out Current executable set to '~/Documents/a.out' (armv6). (lldb) image list [ 0] /Volumes/work/gclayton/Documents/devb/attach/a.out [ 1] /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/dyld [ 2] /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/libSystem.B.dylib Note that this is all happening prior to running _or_ connecting to a remote platform. Once connected to a remote platform the OS version might change which means we will need to update our dependecies. Also once we run, we will need to match up the actualy binaries with the actualy UUID's to files in the SDK, or download and cache them locally. This is just the start of the remote platforms, but this modification is the first iteration in getting the platforms really doing something. llvm-svn: 127934
-
- Mar 18, 2011
-
-
Johnny Chen authored
in the same compilation module show up as different types for lldb debugger. llvm-svn: 127904
-
Caroline Tice authored
Fix various small problems with EmulateInstructionARM::EmulateSTRRtSP. llvm-svn: 127898
-
Jim Ingham authored
ObjC runtime for print object to Pointer AND Integer (from just pointer.) llvm-svn: 127841
-
Caroline Tice authored
Make all the codee that attempts to read the PC consistently use ReadCoreReg (which 'does the right thing', adding to pc when needed); fixed places in code where extra addition was being passed along. Fix bug in insn tables. llvm-svn: 127838
-
- Mar 17, 2011
-
-
Jim Ingham authored
Fix a problem where we were looking up the class pointer in the {class/sel -> implementation} cache for a objc_msgSendSuper call - where we should have looked up the class's super-class. llvm-svn: 127830
-
Jim Ingham authored
llvm-svn: 127825
-
Johnny Chen authored
assembler code to the memory dump. llvm-svn: 127823
-
Johnny Chen authored
read the memory contents of the function, and then feed the bytes to the 'llvm-mc -disassemble' command. It uses the pexpect module located under ToT/test/pexpect-2.4 directory to automate the interaction with gdb. This is used initially to test the low level ARM disassembler of llvm. llvm-svn: 127785
-
Johnny Chen authored
which the testsuite is run against. llvm-svn: 127782
-
- Mar 16, 2011
-
-
Caroline Tice authored
Add code to emulate STRH (Register) Arm instruction. Remove inaccurate comments from EmulateInstruction::Context definition. Fix contexts in a few arm instruction emulation routines. llvm-svn: 127770
-
Caroline Tice authored
Fix various small bugs found in the instruction emulation functions. llvm-svn: 127712
-
- Mar 15, 2011
-
-
Sean Callanan authored
up AVX disassembly support. llvm-svn: 127695
-