Skip to content
  1. Mar 11, 2011
  2. Mar 10, 2011
  3. Mar 09, 2011
  4. Mar 08, 2011
    • Greg Clayton's avatar
      LLDB now has "Platform" plug-ins. Platform plug-ins are plug-ins that provide · e996fd30
      Greg Clayton authored
      an interface to a local or remote debugging platform. By default each host OS
      that supports LLDB should be registering a "default" platform that will be
      used unless a new platform is selected. Platforms are responsible for things
      such as:
      - getting process information by name or by processs ID
      - finding platform files. This is useful for remote debugging where there is 
        an SDK with files that might already or need to be cached for debug access.
      - getting a list of platform supported architectures in the exact order they
        should be selected. This helps the native x86 platform on MacOSX select the
        correct x86_64/i386 slice from universal binaries.
      - Connect to remote platforms for remote debugging
      - Resolving an executable including finding an executable inside platform
        specific bundles (macosx uses .app bundles that contain files) and also
        selecting the appropriate slice of universal files for a given platform.
      
      So by default there is always a local platform, but remote platforms can be
      connected to. I will soon be adding a new "platform" command that will support
      the following commands:
      (lldb) platform connect --name machine1 macosx connect://host:port
      Connected to "machine1" platform.
      (lldb) platform disconnect macosx
      
      This allows LLDB to be well setup to do remote debugging and also once 
      connected process listing and finding for things like:
      (lldb) process attach --name x<TAB>
      
      The currently selected platform plug-in can now auto complete any available
      processes that start with "x". The responsibilities for the platform plug-in
      will soon grow and expand.
      
      llvm-svn: 127286
      e996fd30
    • Stephen Wilson's avatar
      Fix ObjectFileElf::GetEntryPointAddress() · d126c8cc
      Stephen Wilson authored
      ELF object files do not implicitly have a symbol named "start" as an entry
      point.  For example, on Linux it is often named "_start", but can be trivially
      set to any symbol by passing an --entry argument to the linker.
      
      Use the ELF header to determine the entry point and resolve the associated
      section based on that address.
      
      Also, update the linux dynamic loader to call GetEntryPointAddress instead of
      GetEntryPoint.
      
      llvm-svn: 127218
      d126c8cc
    • Stephen Wilson's avatar
      Add Makefile support for the new DynamicLoaderStatic plugin. · 8f0daa28
      Stephen Wilson authored
      llvm-svn: 127215
      8f0daa28
    • Jim Ingham's avatar
      I didn't notice there was already an ObjectFile::GetEntryPoint. Move that... · bd3f2606
      Jim Ingham authored
      I didn't notice there was already an ObjectFile::GetEntryPoint.  Move that over to GetEntryPointAddress 'cause that's more consistent with other functions in ObjectFile, do the mutatis mutandi and also in the ELF case I return a section offset address rather than a bare load address.
      
      llvm-svn: 127205
      bd3f2606
    • Jim Ingham's avatar
      Reverting the part of the debug-in-ofile patch from earlier today that removes... · 5ca40258
      Jim Ingham authored
      Reverting the part of the debug-in-ofile patch from earlier today that removes them from the shared module list.  That was causing a bunch of asserts.  Greg is working on a better fix.
      
      llvm-svn: 127201
      5ca40258
    • Jim Ingham's avatar
      Add a method "GetEntryPoint" to the ObjectFile class, and implement it on... · 672e6f59
      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
      672e6f59
    • Caroline Tice's avatar
      · 6258c53e
      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
      6258c53e
  5. Mar 07, 2011
  6. Mar 05, 2011
  7. Mar 04, 2011
Loading