- Mar 26, 2011
-
-
Stephen Wilson authored
llvm-svn: 128313
-
Stephen Wilson authored
llvm-svn: 128312
-
Stephen Wilson authored
llvm-svn: 128311
-
- Mar 25, 2011
-
-
Jim Ingham authored
llvm-svn: 128302
-
Stephen Wilson authored
llvm-svn: 128291
-
Greg Clayton authored
plugin by name on the command line for when there is more than one disassembler plugin. Taught the Opcode class to dump itself so that "disassembler -b" will dump the bytes correctly for each opcode type. Modified all places that were passing the opcode bytes buffer in so that the bytes could be displayed to just pass in a bool that indicates if we should dump the opcode bytes since the opcode now lives inside llvm_private::Instruction. llvm-svn: 128290
-
Greg Clayton authored
Modified the Disassembler::Instruction base class to contain an Opcode instance so that we can know the bytes for an instruction without needing to keep the data around. Modified the DisassemblerLLVM's instruction class to correctly extract the opcode bytes if all goes well. llvm-svn: 128248
-
- Mar 24, 2011
-
-
Greg Clayton authored
public types and public enums. This was done to keep the SWIG stuff from parsing all sorts of enums and types that weren't needed, and allows us to abstract our API better. llvm-svn: 128239
-
Caroline Tice authored
Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were in the wrong order. llvm-svn: 128237
-
Caroline Tice authored
Add missing encodings for EmulateLDRRtRnImm (ARM insn emulation funciton). llvm-svn: 128229
-
Jim Ingham authored
llvm-svn: 128224
-
Greg Clayton authored
On Mac OS X we now have 3 platforms: PlatformDarwin - must be subclassed to fill in the missing pure virtual funcs but this implements all the common functionality between remote-macosx and remote-ios. It also allows for another platform to be used (remote-gdb-server for now) when doing remote connections. Keeping this pluggable will allow for flexibility. PlatformMacOSX - Now implements both local and remote macosx desktop platforms. PlatformRemoteiOS - Remote only iOS that knows how to locate SDK files in the cached SDK locations on the host. A new agnostic platform has been created: PlatformRemoteGDBServer - this implements the platform using the GDB remote protocol and uses the built in lldb_private::Host static functions to implement many queries. llvm-svn: 128193
-
- Mar 23, 2011
-
-
Caroline Tice authored
llvm-svn: 128177
-
Johnny Chen authored
llvm-svn: 128167
-
Johnny Chen authored
rdar://problem/9173060 lldb hangs while running unique-types disappears if running with clang version >= 3. Modify the TestUniqueTypes.py to detect if we are running with clang version < 3 and, if true, skip the test. Update the lldbtest.system() function to return a tuple of (stdoutdata, stderrdata) since we need the stderr data from "clang -v" command. Modify existing clients of lldbtest.system() to now use, for example: # First, capture the golden output emitted by the oracle, i.e., the # series of printf statements. - go = system("./a.out", sender=self) + go = system("./a.out", sender=self)[0] # This golden list contains a list of (variable, value) pairs extracted # from the golden output. gl = [] And add two utility functions to lldbutil.py. llvm-svn: 128162
-
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
-