Skip to content
  1. Apr 12, 2011
    • Greg Clayton's avatar
      Moved the execution context that was in the Debugger into · 8b82f087
      Greg Clayton authored
      the CommandInterpreter where it was always being used.
      
      Make sure that Modules can track their object file offsets correctly to
      allow opening of sub object files (like the "__commpage" on darwin).
      
      Modified the Platforms to be able to launch processes. The first part of this
      move is the platform soon will become the entity that launches your program
      and when it does, it uses a new ProcessLaunchInfo class which encapsulates
      all process launching settings. This simplifies the internal APIs needed for
      launching. I want to slowly phase out process launching from the process
      classes, so for now we can still launch just as we used to, but eventually
      the platform is the object that should do the launching.
      
      Modified the Host::LaunchProcess in the MacOSX Host.mm to correctly be able
      to launch processes with all of the new eLaunchFlag settings. Modified any
      code that was manually launching processes to use the Host::LaunchProcess
      functions.
      
      Fixed an issue where lldb_private::Args had implicitly defined copy 
      constructors that could do the wrong thing. This has now been fixed by adding
      an appropriate copy constructor and assignment operator.
      
      Make sure we don't add empty ModuleSP entries to a module list.
      
      Fixed the commpage module creation on MacOSX, but we still need to train
      the MacOSX dynamic loader to not get rid of it when it doesn't have an entry
      in the all image infos.
      
      Abstracted many more calls from in ProcessGDBRemote down into the 
      GDBRemoteCommunicationClient subclass to make the classes cleaner and more
      efficient.
      
      Fixed the default iOS ARM register context to be correct and also added support
      for targets that don't support the qThreadStopInfo packet by selecting the
      current thread (only if needed) and then sending a stop reply packet.
      
      Debugserver can now start up with a --unix-socket (-u for short) and can 
      then bind to port zero and send the port it bound to to a listening process
      on the other end. This allows the GDB remote platform to spawn new GDB server
      instances (debugserver) to allow platform debugging.
      
      llvm-svn: 129351
      8b82f087
    • Greg Clayton's avatar
      Added a few more commands, but I mainly wanted to include how to run lldb · 471257c1
      Greg Clayton authored
      with the same program arguments for a process over and over without having
      to specify them (like you can with gdb with the "--args" option).
      
      llvm-svn: 129332
      471257c1
  2. Apr 11, 2011
    • Stephen Wilson's avatar
      Order of initialization lists. · 71c21d18
      Stephen Wilson authored
          
      This patch fixes all of the warnings due to unordered initialization lists.
      
      Patch by Marco Minutoli.
      
      llvm-svn: 129290
      71c21d18
    • Stephen Wilson's avatar
      Fix struct vs. class warning. · 2b899767
      Stephen Wilson authored
      ParserVars is declared using the class keyword. This solves the warning.
      
      llvm-svn: 129289
      2b899767
    • Caroline Tice's avatar
      · 88544c5f
      Caroline Tice authored
      Implement ARM emulation function to handle "SUBS PC, LR and related instructions".
      
      llvm-svn: 129279
      88544c5f
  3. Apr 09, 2011
    • Caroline Tice's avatar
      · 25d61ac2
      Caroline Tice authored
      Fix various things in the instruction emulation code:
      
          - Add ability to control whether or not the emulator advances the
          PC register (in the emulation state), if the instruction itself
          does not change the pc value..
      
          - Fix a few typos in asm description strings.
      
          - Fix bug in the carry flag calculation.
      
      llvm-svn: 129168
      25d61ac2
    • Johnny Chen's avatar
      Really fix the test suite crasher this time. · f16066e8
      Johnny Chen authored
      llvm-svn: 129165
      f16066e8
    • Johnny Chen's avatar
      Fix a test suite crasher. · 1f1b269b
      Johnny Chen authored
      llvm-svn: 129161
      1f1b269b
  4. Apr 08, 2011
    • Stephen Wilson's avatar
      Add missing headers. · 8acdbb8a
      Stephen Wilson authored
      Something changed in commit r129112 where a few standard headers vanished from
      the include chain when building on Linux.  Fix up by including limits.h for
      INT_MAX and PATH_MAX where needed, and stdio.h for printf().
      
      llvm-svn: 129130
      8acdbb8a
    • Stephen Wilson's avatar
      Add the ARM instruction emulation makefile. · 05459c82
      Stephen Wilson authored
      I forgot to 'svn add' this file in r129119.
      
      llvm-svn: 129120
      05459c82
    • Stephen Wilson's avatar
      Add makefile support for the ARM instruction emulation plugin. · d5adc918
      Stephen Wilson authored
      llvm-svn: 129119
      d5adc918
    • Stephen Wilson's avatar
      linux: add missing arguments to FindFirstModuleForFileSpec · 3f588d3f
      Stephen Wilson authored
      Specifying the new arguments as NULL is appropriate for now as this is
      backwards-compatible with the old invocation. 
      
      llvm-svn: 129118
      3f588d3f
    • Greg Clayton's avatar
      Modified the ArchSpec to take an optional "Platform *" when setting the triple. · eb0103f2
      Greg Clayton authored
      This allows you to have a platform selected, then specify a triple using
      "i386" and have the remaining triple items (vendor, os, and environment) set
      automatically.
      
      Many interpreter commands take the "--arch" option to specify an architecture
      triple, so now the command options needed to be able to get to the current
      platform, so the Options class now take a reference to the interpreter on
      construction.
      
      Modified the build LLVM building in the Xcode project to use the new
      Xcode project level user definitions:
      
      LLVM_BUILD_DIR - a path to the llvm build directory
      LLVM_SOURCE_DIR - a path to the llvm sources for the llvm that will be used to build lldb
      LLVM_CONFIGURATION - the configuration that lldb is built for (Release, 
      Release+Asserts, Debug, Debug+Asserts).
      
      I also changed the LLVM build to not check if "lldb/llvm" is a symlink and
      then assume it is a real llvm build directory versus the unzipped llvm.zip
      package, so now you can actually have a "lldb/llvm" directory in your lldb
      sources.
      
      llvm-svn: 129112
      eb0103f2
  5. Apr 07, 2011
    • Stephen Wilson's avatar
      Removed use of NSEC_PER_SEC. · f6e25904
      Stephen Wilson authored
      NSEC_PER_SEC is not defined in sys/time.h on Linux. Replaced that macro with a
      static constant inside TimeValue.
      
      Patch by Marco Minutoli.
      
      llvm-svn: 129071
      f6e25904
    • Stephen Wilson's avatar
      Add a missing header · 78709173
      Stephen Wilson authored
      strtoul() is defined in stdlib.h and the header was missing in
      StringExtractor.cpp.
      
      Patch by Marco Minutoli!
      
      llvm-svn: 129070
      78709173
    • Stephen Wilson's avatar
      linux: remove ProcessLinux::FindProcesses · 0682ba2f
      Stephen Wilson authored
      This method only needs to be overridden in the remote debugging case,  the
      base class handles the host case.  Since we do not do remote debugging on
      Linux yet and there is a typo that causes a build issue, just remove this
      method for now.
       
      
      llvm-svn: 129069
      0682ba2f
    • Caroline Tice's avatar
      · c1bcafd8
      Caroline Tice authored
      Translate dwarf register numbers to internal register numbers
      before trying to look them up in register contexts, in the 
      emulation callback functions that read & write the frame registers.
      
      llvm-svn: 129037
      c1bcafd8
  6. Apr 06, 2011
  7. Apr 05, 2011
  8. Apr 04, 2011
    • Greg Clayton's avatar
      Added a speed test to the GDBRemoteCommunicationClient and · 9b1e1cdf
      Greg Clayton authored
      GDBRemoteCommunicationServer classes. This involved adding a new packet
      named "qSpeedTest" which can test the speed of a packet send/response pairs
      using a wide variety of send/recv packet sizes.
      
      Added a few new connection classes: one for shared memory, and one for using
      mach messages (Apple only). The mach message stuff is experimental and not 
      working yet, but added so I don't lose the code. The shared memory stuff
      uses pretty standard calls to setup shared memory.
      
      llvm-svn: 128837
      9b1e1cdf
  9. Apr 02, 2011
  10. Apr 01, 2011
  11. Mar 31, 2011
    • Jim Ingham's avatar
      Little bit of cleanup, and added a few new bits. · f55a8361
      Jim Ingham authored
      llvm-svn: 128678
      f55a8361
    • Caroline Tice's avatar
      · d20c8d1a
      Caroline Tice authored
      Fix a few typos in the previous commit.
      
      llvm-svn: 128671
      d20c8d1a
    • Caroline Tice's avatar
      · 028b8b7b
      Caroline Tice authored
      Add code to emulate VLD1 (single element to all lanes) ARM instruction.
      
      llvm-svn: 128669
      028b8b7b
    • Caroline Tice's avatar
      · 5901ea7e
      Caroline Tice authored
      Add code to emulate VST1 (single element from one lane) ARM
      instruction (more floating point stores).
      
      llvm-svn: 128661
      5901ea7e
    • Caroline Tice's avatar
      · d64a0814
      Caroline Tice authored
      Add code to emulate VST1 (multiple single elements) ARM
      instruction (floating point store).
      
      llvm-svn: 128656
      d64a0814
    • Caroline Tice's avatar
      · bc2b96b6
      Caroline Tice authored
      Add code to emulate VLD1 (single element to one lane) floating point
      register load instruction (ARM) .
      
      llvm-svn: 128646
      bc2b96b6
    • Caroline Tice's avatar
      · 8071f112
      Caroline Tice authored
      Revert changes that caused this scheme to be hidden in certain cases.
      
      llvm-svn: 128638
      8071f112
    • Caroline Tice's avatar
      · 31d8498f
      Caroline Tice authored
      Add code to emulate VLD1 (multiple single elements) ARM instruction.
      
      llvm-svn: 128637
      31d8498f
    • Caroline Tice's avatar
      · 8e4ed855
      Caroline Tice authored
      Add code to emulate VSTR ARM instruction (store a floating point register).
      
      llvm-svn: 128614
      8e4ed855
Loading