Skip to content
  1. Jul 18, 2011
  2. Jul 17, 2011
    • Greg Clayton's avatar
      Added a boolean to the pure virtual lldb_private::Process::CanDebug(...) · 3a29bdbe
      Greg Clayton authored
      method so process plug-ins that are requested by name can answer yes when
      asked if they can debug a target that might not have any file in the target.
      
      Modified the ConnectionFileDescriptor to have both a read and a write file
      descriptor. This allows us to support UDP, and eventually will allow us to
      support pipes. The ConnectionFileDescriptor class also has a file descriptor
      type for each of the read and write file decriptors so we can use the correct
      read/recv/recvfrom call when reading, or write/send/sendto for writing.
      
      Finished up an initial implementation of UDP where you can use the "udp://"
      URL to specify a host and port to connect to:
      
      (lldb) process connect --plugin kdp-remote udp://host:41139
      
      This will cause a ConnectionFileDescriptor to be created that can send UDP
      packets to "host:41139", and it will also bind to a localhost port that can
      be given out to receive the connectionless UDP reply. 
      
      Added the ability to get to the IPv4/IPv6 socket port number from a 
      ConnectionFileDescriptor instance if either file descriptor is a socket.
      
      The ProcessKDP can now successfully connect to a remote kernel and detach
      using the above "processs connect" command!!! So far we have the following
      packets working:
          KDP_CONNECT
          KDP_DISCONNECT
          KDP_HOSTINFO
          KDP_VERSION
          KDP_REATTACH
      
      Now that the packets are working, adding new packets will go very quickly.
      
      llvm-svn: 135363
      3a29bdbe
    • Nadav Rotem's avatar
      Minor code cleanups · 76d51c6c
      Nadav Rotem authored
      llvm-svn: 135362
      76d51c6c
    • Oscar Fuentes's avatar
      Fix CMake build on Solaris · 2d48f653
      Oscar Fuentes authored
      When building LLVM/Clang on Solaris. The generated makefiles would
      have an extraneous semi-colon character in them prior to this change
      due to the way the 'CMAKE_CXX_FLAGS' variable was defined. Simply
      adjusting the definition by moving the current CMAKE_CXX_FLAGS value
      within the quotes solves the problem.
      
      Patch by Art Haas!
      
      llvm-svn: 135361
      2d48f653
    • Chris Lattner's avatar
      tidy up · d04e32d3
      Chris Lattner authored
      llvm-svn: 135360
      d04e32d3
    • Chandler Carruth's avatar
      Revert r135217, which wasn't the correct fix for PR10358. With this · 7cf5a376
      Chandler Carruth authored
      patch, we actually move the state-machine for the value set backwards
      one step. This can pretty easily lead to infinite loops where we
      continually try to propagate a bit, succeed for one iteration, but then
      back up because we find an uninitialized use.
      
      A reduced test case from PR10379 is included.
      
      llvm-svn: 135359
      7cf5a376
    • Benjamin Kramer's avatar
      Silence compiler warnings. · a7606b99
      Benjamin Kramer authored
      llvm-svn: 135358
      a7606b99
  3. Jul 16, 2011
Loading