Skip to content
  1. Mar 26, 2011
  2. Mar 25, 2011
  3. Mar 24, 2011
    • Greg Clayton's avatar
      Fixed the LLDB build so that we can have private types, private enums and · e0d378b3
      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
      e0d378b3
    • Caroline Tice's avatar
      · 466327d6
      Caroline Tice authored
      Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were
      in the wrong order.
      
      llvm-svn: 128237
      466327d6
    • Caroline Tice's avatar
      · 9b281e22
      Caroline Tice authored
      Add missing encodings for EmulateLDRRtRnImm (ARM insn emulation funciton).
      
      llvm-svn: 128229
      9b281e22
    • Jim Ingham's avatar
      Switch the "print" alias to "expression --". · 9245e5ff
      Jim Ingham authored
      llvm-svn: 128224
      9245e5ff
    • Greg Clayton's avatar
      Did a lot more work on abtracting and organizing the platforms. · 1cb6496e
      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
      1cb6496e
  4. Mar 23, 2011
  5. Mar 22, 2011
  6. Mar 21, 2011
  7. Mar 20, 2011
    • Greg Clayton's avatar
      Split all of the core of LLDB.framework/lldb.so into a · 7a5388bf
      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
      7a5388bf
  8. Mar 19, 2011
    • Greg Clayton's avatar
      Added more platform support. There are now some new commands: · ded470d3
      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
      ded470d3
  9. Mar 18, 2011
    • Caroline Tice's avatar
      · 77c13fe3
      Caroline Tice authored
      Fix various small problems with EmulateInstructionARM::EmulateSTRRtSP.
      
      llvm-svn: 127898
      77c13fe3
    • Jim Ingham's avatar
      Relax the constraint on the types of ValueObjects that we'll by default try the · b7603bb4
      Jim Ingham authored
      ObjC runtime for print object to Pointer AND Integer (from just pointer.)
      
      llvm-svn: 127841
      b7603bb4
    • Caroline Tice's avatar
      · 4c753376
      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
      4c753376
  10. Mar 17, 2011
  11. Mar 16, 2011
    • Caroline Tice's avatar
      · aaf5ddcf
      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
      aaf5ddcf
    • Caroline Tice's avatar
      · fe28f1bf
      Caroline Tice authored
      Fix various small bugs found in the instruction emulation functions.
      
      llvm-svn: 127712
      fe28f1bf
  12. Mar 15, 2011
  13. Mar 13, 2011
  14. Mar 11, 2011
    • Jim Ingham's avatar
      Add a first pass at a "stop hook" mechanism. This allows you to add commands... · 9575d844
      Jim Ingham authored
      Add a first pass at a "stop hook" mechanism.  This allows you to add commands that get run every time the debugger stops, whether due to a breakpoint, the end of a step, interrupt, etc.  You can also specify in which context you want the stop hook to run, for instance only on a particular thread, or only in a particular shared library, function, file, line range within a file.
      
      Still need to add "in methods of a class" to the specifiers, and the ability to write the stop hooks in the Scripting language as well as in the Command Language.
      
      llvm-svn: 127457
      9575d844
Loading