Skip to content
  1. Nov 14, 2013
    • Ed Maste's avatar
      Update failing FreeBSD test annotations (pr17932, pr17933) · 4ae8c9e5
      Ed Maste authored
      After solving the issue in llvm.org/pr17226 these two tests still fail,
      now for other reasons.
      
      llvm-svn: 194729
      4ae8c9e5
    • Ed Maste's avatar
      Mark two FreeBSD tests failing due to llvm.org/pr15989 · 1e46620b
      Ed Maste authored
      After solving llvm.org/pr17226 these two tests now fail for the same reason
      they do on Linux.
      
      llvm-svn: 194726
      1e46620b
    • Greg Clayton's avatar
    • Greg Clayton's avatar
      <rdar://problem/14814689> · 1d61d31a
      Greg Clayton authored
      Add a log message to the console that will display the error code when we fail to reply to a mach message.
      
      llvm-svn: 194623
      1d61d31a
    • Greg Clayton's avatar
      <rdar://problem/15172417> · f74cf86b
      Greg Clayton authored
      Added two new GDB server packets to debugserver: "QSaveRegisterState" and "QRestoreRegiterState".
      
      "QSaveRegisterState" makes the remote GDB server save all register values and it returns a save identifier as an unsigned integer. This packet can be used prior to running expressions to save all registers.
      
      All registers can them we later restored with "QRestoreRegiterState:SAVEID" what SAVEID is the integer identifier that was returned from the call to QSaveRegisterState.
      
      Cleaned up redundant code in lldb_private::Thread, lldb_private::ThreadPlanCallFunction.
      Moved the lldb_private::Thread::RegisterCheckpoint into its own header file and it is now in the lldb_private namespace. Trimmed down the RegisterCheckpoint class to omit stuff that wasn't used (the stack ID).
      
      Added a few new virtual methods to lldb_private::RegisterContext that allow subclasses to efficiently save/restore register states and changed the RegisterContextGDBRemote to take advantage of these new calls.
      
      llvm-svn: 194621
      f74cf86b
  2. Nov 13, 2013
  3. Nov 12, 2013
  4. Nov 11, 2013
  5. Nov 09, 2013
    • Greg Clayton's avatar
      Fixed up registers in debugserver. · 85480028
      Greg Clayton authored
      - removed all gaps from the g/G packets
      - optimized registers for x86_64 to not send/receive xmm0-xmm15 as well as ymm0-ymm15, now we only send ymm0-15 and xmm0-15 are now pseudo regs
      - Fixed x86_64 floating point register gaps
      - Fixed x86_64 so that xmm8-xmm15 don't overlap with ymm0-ymm3. This could lead to bad values showing in the debugger and was due to bad register info structure contents
      - Fixed i386 so we only send ymm0-ymm7 and xmm0-xmm7 are now pseudo regs.
      - Fixed ARM register definitions to not have any gaps
      - Fixed it so value registers and invalidation registers are specified using register names which avoid games we had to play with register numbering in the ARM plugin.
      
      llvm-svn: 194302
      85480028
    • Greg Clayton's avatar
      Fixed the the breakpoint test case failures. · b35db639
      Greg Clayton authored
      There were 6 on darwin. All of these were related to the recent changes for exec.
      
      llvm-svn: 194298
      b35db639
    • Greg Clayton's avatar
      Fixed a build warning for a missing switch case. · c28ce782
      Greg Clayton authored
      llvm-svn: 194295
      c28ce782
  6. Nov 08, 2013
  7. Nov 07, 2013
    • Jim Ingham's avatar
      This patch does a couple of things. · 6fbc48bc
      Jim Ingham authored
      It completes the job of using EvaluateExpressionOptions consistently throughout
      the inferior function calling mechanism in lldb begun in Greg's patch r194009. 
      
      It removes a handful of alternate calls into the ClangUserExpression/ClangFunction/ThreadPlanCallFunction which
      were there for convenience.  Using the EvaluateExpressionOptions removes the need for them.
      
      Using that it gets the --debug option from Greg's patch to work cleanly.
      
      It also adds another EvaluateExpressionOption to not trap exceptions when running expressions.  You shouldn't
      use this option unless you KNOW your expression can't throw beyond itself.  This is:
      
      <rdar://problem/15374885>
      
      At present this is only available through the SB API's or python.
      
      It fixes a bug where function calls would unset the ObjC & C++ exception breakpoints without checking whether
      they were set by somebody else already.
      
      llvm-svn: 194182
      6fbc48bc
  8. Nov 06, 2013
    • Sean Callanan's avatar
      Spelling fix. · 2a0e663f
      Sean Callanan authored
      llvm-svn: 194163
      2a0e663f
    • Sean Callanan's avatar
      Added Iterable, a class that vends standard C++ · 5c19eac1
      Sean Callanan authored
      iterators for LLDB's container data structures.
      Iterable abstracts over the backing data structure,
      ignoring keys for maps for example.  It also provides
      locking as a service so that the code
      
      for (ThreadSP thread_sp : process->Threads())
      {
        // ... use thread_sp
      }
      
      takes the appropriate locks once, without having to
      do anything else.
      
      The salient advantages of this system are:
      
      - Much simpler and idiomatic loop code
      - Lock once instead of each time an element is fetched
      - Less boilerplate to produce the iterators
      
      The intent is that Iterable will replace Get...AtIndex
      in most places, and that ForEach(), which solves the
      same problem in a less-idiomatic way, be phased out in
      favor of this approach.
      
      I've added Iterables to ThreadList, TypeList, and
      Process (which is really just forwarding to ThreadList).
      
      llvm-svn: 194159
      5c19eac1
    • Jason Molenda's avatar
      Rename extended backtrace methods to take out the "ThreadOrigin" · 95d005c7
      Jason Molenda authored
      bit from the method names.
      <rdar://problem/15314369> 
      
      llvm-svn: 194122
      95d005c7
    • Greg Clayton's avatar
      Improve lldb_private::Address to detect when section was deleted and not... · cae56528
      Greg Clayton authored
      Improve lldb_private::Address to detect when section was deleted and not return bogus values for GetLoadAddress() and GetFileAddress().
      
      llvm-svn: 194120
      cae56528
    • Jason Molenda's avatar
      Add a new GetThreadOriginExtendedBacktrace method to the · 5dd4916f
      Jason Molenda authored
      SystemRuntime and SBThread classes.
      <rdar://problem/15314369> 
      
      llvm-svn: 194111
      5dd4916f
    • Greg Clayton's avatar
      <rdar://problem/15367122> · 095eeaa0
      Greg Clayton authored
      Fixed the test case for "test/functionalities/exec/TestExec.py" on Darwin.
      
      The issue was breakpoints were persisting and causing problems. When we exec, we need to clear out the process and target and start fresh with nothing and let the breakpoints populate themselves again. This patch correctly clears out the breakpoints and also flushes the process so that the objects (process/thread/frame) give out valid information.
      
      llvm-svn: 194106
      095eeaa0
  9. Nov 05, 2013
  10. Nov 04, 2013
Loading