Skip to content
  1. May 14, 2013
    • Daniel Malea's avatar
      Adding C++ tests that drive LLDB from multiple threads · b2132553
      Daniel Malea authored
      - test_breakpoint_callback -- filed llvm.org/pr-16000
      - test_listener_resume -- resume a process from a thread waiting on SBListener
      - test_listener_event_description -- SBEvent description from SBListener thread
      - test_listener_event_process -- query process/thread/stack info from SBListener thread
      
      llvm-svn: 181819
      b2132553
    • Matt Kopec's avatar
      strncmp was checked incorrectly in the Linux symbol lookup fix. · 04e5d58c
      Matt Kopec authored
      llvm-svn: 181818
      04e5d58c
    • Greg Clayton's avatar
      <rdar://problem/13764135> · eea37eed
      Greg Clayton authored
      The "lldb" driver was interfering with STDOUT and STDERR if the output was over 1024 charcters long. The output was grabbing 1024 characters at a time, before it output the characters, it was writing characters to the screen to clear the current line. This has been fixed.
      
      I also fixed the command interpreter from mixing the "(lldb) " prompt in with program output by always manually checking for program output. This was done by having the command interpreter know when it is in the middle of executing a command by setting a bool. This was needed since sometimes when a command would run the target, like with a command like 'expression (int)printf("hello\n")', the process would push a new input reader, and then pop it when it was done. This popping of the input reader would cause the command interpreter to get sent a reactivated message (from the private process state thread) and cause it to ask for another command, even though we were still in the middle of the command ('expression (int)printf("hello\n")'). Now we set a bool to true, run the command and set the bool to false. If we get reactivated while we are in the middle of a command, we don't say we are ready for a new command. This coupled with emitting the STDOUT/STDERR first after each command, followed by the command results, followed by then saying we are ready for a new command, should help cleanup the command line output on all platforms.
      
      llvm-svn: 181807
      eea37eed
    • Daniel Malea's avatar
      Fix inline stepping test case on Linux because Thread::ThreadStoppedForAReason... · 246cb611
      Daniel Malea authored
      Fix inline stepping test case on Linux because Thread::ThreadStoppedForAReason ignored virtual steps.
      - add IsVirtualStep() virtual function to ThreadPlan, and implement it for
        ThreadPlanStepInRange
      - make GetPrivateStopReason query the current thread plan for a virtual stop to
        decide if the current stop reason needs to be preserved
      - remove extra check for an existing process in GetPrivateStopReason
      
      llvm-svn: 181795
      246cb611
    • Ashok Thirumurthi's avatar
    • Jason Molenda's avatar
      A few more small tweaks to arm core file handling. · ddf91778
      Jason Molenda authored
      Most importantly, have DoReadGPR/DoReadFPU/DoReadEXC return -1
      to indicate failure if they're called.  Else these could override
      the Error setting for the relevant thread state -- if the core file
      didn't include a floating point thread state, for instance, these
      functions would clear the Error setting for that register set and 
      lldb would display random bytes as those registers' contents.
      <rdar://problem/13665075> 
      
      llvm-svn: 181757
      ddf91778
    • Jason Molenda's avatar
      Small change to the previous checkin, read in the fpu register context · 663d2e18
      Jason Molenda authored
      in one large block - and be sure toget the fpscr value as well when
      processing a core file.
      
      llvm-svn: 181756
      663d2e18
    • Jason Molenda's avatar
      Fixes to read the floating point and exception registers sets out · 2e7236fa
      Jason Molenda authored
      of arm Mach-O core files.
      <rdar://problem/13665075>
      
      llvm-svn: 181755
      2e7236fa
    • Andrew Kaylor's avatar
      Adding new test cases for inferior crashing. · d4dc5793
      Andrew Kaylor authored
      llvm-svn: 181742
      d4dc5793
    • Matt Kopec's avatar
      Add expression tests for a function in an anonymous namespace. · 201284a8
      Matt Kopec authored
      llvm-svn: 181741
      201284a8
  2. May 13, 2013
  3. May 11, 2013
    • Jason Molenda's avatar
      Update ProcessKDP and ProcessMachCore to use ConstString plugin · 2e56a254
      Jason Molenda authored
      names when specifying the DynamicLoaderDarwinKernel.
      
      ProcessGDBRemote wasn't setting the dyld string any more; remove
      the remaining code tracking the dyld plugin name altogether from
      that process plugin.
      
      llvm-svn: 181658
      2e56a254
    • Jason Molenda's avatar
      A couple of small fixes to make core file debugging less noisy. · 408fa333
      Jason Molenda authored
      Don't want about being unable to find a needed objective-c runtime
      function when we're core file debugging and can't jit anything
      anyway.  Don't warn when quitting a debug session on a core file,
      the program state can be reconstructed by re-running lldb on the
      same core file again.
      
      llvm-svn: 181653
      408fa333
    • Greg Clayton's avatar
      <rdar://problem/13700260> · f9b57b9d
      Greg Clayton authored
      Avoid a deadlock when using the OperatingSystemPython code and typing "process interrupt". There was a possible lock inversion between the target API lock and the process' thread list lock due to code trying to discard the thread list. This was fixed by adding a boolean to Process::Halt() that indicates if the thread plans should be discarded and doing it in the private state thread when we process the stopped state.
      
      llvm-svn: 181651
      f9b57b9d
    • Matt Kopec's avatar
      Use mangled and demangled names when checking for a function in a namespace... · a189d497
      Matt Kopec authored
      Use mangled and demangled names when checking for a function in a namespace and a function in an anonymous namespace, respectively.
      
      llvm-svn: 181645
      a189d497
  4. May 10, 2013
  5. May 09, 2013
    • Ashok Thirumurthi's avatar
      Fixed "log enable linux registers" and added a test. · acbb1a5d
      Ashok Thirumurthi authored
      - Eliminated the use of static for methods that read m_register_infos, so that these routines can be implemented in the base class.
      - Eliminated m_register_infos in the base class because this is not used when derived classes call UpdateRegisterInfo.
      - Also moved the namespace using declarations from headers to source files.
      
      Thanks to Daniel and Samuel for their review feedback.
      
      llvm-svn: 181538
      acbb1a5d
Loading