Skip to content
  1. Feb 08, 2014
  2. Feb 07, 2014
    • Greg Clayton's avatar
      Modified ObjectFile::SetLoadAddress() to now be: · 751caf65
      Greg Clayton authored
      ObjectFile::SetLoadAddress (Target &target,
                                  lldb::addr_t value,
                                  bool value_is_offset);
      
      Now "value" is a slide if "value_is_offset" is true, and "value" is an image base address otherwise. All previous usage of this API was using slides.
      
      Updated the ObjectFileELF and ObjectFileMachO SetLoadAddress methods to do the right thing.
      
      Also updated the ObjectFileMachO::SetLoadAddress() function to not load __LINKEDIT when it isn't needed and to only load sections that belong to the executable object file.
      
      llvm-svn: 201003
      751caf65
    • Greg Clayton's avatar
      Now that the command interpreter runs in a separate thread in Xcode, we need... · 9b5442ae
      Greg Clayton authored
      Now that the command interpreter runs in a separate thread in Xcode, we need to lock the target API lock instead of trying to lock it.
      
      What was happening was:
      1 - Xcode ran and stopped and was doing work on thread 2
      2 - Users would type something in Xcode console on thread 1
      3 - thread 3 would be running command interpreter thread and try to execute command but get "failed to get API lock" error for any command that wanted the target API lock (like "expression")
      
      <rdar://problem/15775016>
      
      llvm-svn: 200997
      9b5442ae
    • Enrico Granata's avatar
      <rdar://problem/12857181> · 41c440fb
      Enrico Granata authored
      When a user says
      
      type formatter add ... unsigned int
      
      he most probably means to deal with the "unsigned int" type. However, given how the LLDB command parser works, that command will try to add the formatter to the TWO types 'unsigned' AND 'int'
      
      Since this is unlikely to be what the user wants, warn about it, and suggest they can use quotes to override the debugger's understanding
      
      llvm-svn: 200996
      41c440fb
    • Sean Callanan's avatar
      When writing data back into a register, accept · 3d6ae767
      Sean Callanan authored
      values whose size differs from the register's
      size.
      
      llvm-svn: 200991
      3d6ae767
    • Greg Clayton's avatar
      Fix a bug where we will crash if we have a class "B" that is contained inside... · 4c484ecb
      Greg Clayton authored
      Fix a bug where we will crash if we have a class "B" that is contained inside a class "A" in the DWARF where "A" is a forward declaration.
      
      <rdar://problem/14673945>
      <rdar://problem/15682781>
      
      llvm-svn: 200985
      4c484ecb
    • Enrico Granata's avatar
      rdar://15648942 · 1d736c31
      Enrico Granata authored
      Provide a filter for libc++ std::atomic<T>
      This just hides some implementation clutter and promotes the actual content to only child status
      
      llvm-svn: 200984
      1d736c31
  3. Feb 06, 2014
  4. Feb 05, 2014
  5. Feb 04, 2014
  6. Feb 03, 2014
  7. Feb 02, 2014
  8. Feb 01, 2014
  9. Jan 31, 2014
  10. Jan 30, 2014
  11. Jan 29, 2014
  12. Jan 28, 2014
    • Greg Clayton's avatar
      5fdb09bb
    • Greg Clayton's avatar
      Fixed a crasher when handling process events that is due to a translation from... · c809cbcf
      Greg Clayton authored
      Fixed a crasher when handling process events that is due to a translation from the public API to the private API.
      
      llvm-svn: 200267
      c809cbcf
    • Todd Fiala's avatar
      Modified GDBProcessCommunicationServer to launch via the platform. · b8b49ec9
      Todd Fiala authored
      GDBProcessCommunicationServer now optionally takes a PlatformSP that
      defaults to the default platform for the host.
      GDBProcessCommunicationServer::LaunchProcess () now uses the platform
      to launch the process.
      
      lldb-gdbserver now takes an optional --platform={platform_plugin_name}
      or -p {platform_plugin_name} command line option. If no platform is
      specified, the default platform for the host is used; otherwise, if
      the platform_plugin_name matches a registered platform plugin or
      matches the default platform's name (which is not necessarily
      registered by name in the case of 'host'), that platform is used. If
      the platform name cannot be resolved, lldb-gdbserver exits after
      printing all the available platform plugin names and the default
      platform plugin name.
      
      llvm-svn: 200266
      b8b49ec9
    • Greg Clayton's avatar
      Merging the iohandler branch back into main. · 44d93782
      Greg Clayton authored
      The many many benefits include:
      1 - Input/Output/Error streams are now handled as real streams not a push style input
      2 - auto completion in python embedded interpreter
      3 - multi-line input for "script" and "expression" commands now allow you to edit previous/next lines using up and down arrow keys and this makes multi-line input actually a viable thing to use
      4 - it is now possible to use curses to drive LLDB (please try the "gui" command)
      
      We will need to deal with and fix any buildbot failures and tests and arise now that input/output and error are correctly hooked up in all cases.
      
      llvm-svn: 200263
      44d93782
  13. Jan 27, 2014
    • Jason Molenda's avatar
      Change DecodeProcessInfoResponse to set the ProcessInfo's architecture · 89c37499
      Jason Molenda authored
      if the remote stub provided enough information to identify it in the
      qProcessInfo packet response.  (e.g. for an Apple device where we know 
      it is Mach-O, the cpu type & cpu sub type).
      <rdar://problem/15847901> 
      
      llvm-svn: 200253
      89c37499
    • Enrico Granata's avatar
      <rdar://problem/15776874> · 5000ee16
      Enrico Granata authored
      ValueObjectPrinter could enter an infinite loop while trying to display an aptly formed ValueObject: a reference, with a child of some pointer type, such that the pointees chain ended up pointing back to some part of itself - a pointer to itself being the simplest such case
      
      Fixed here by only setting a pointer depth when needed, and ensuring that we won't overflow and wrap the pointer depth when it's zero.
      
      llvm-svn: 200247
      5000ee16
    • Todd Fiala's avatar
      convert gdb-remote 'A' launch to use LaunchProcess () · 9f377373
      Todd Fiala authored
      This change modifies the 'A' command handler's launch code to launch
      with LaunchProcess (). The net effect is that the default process
      monitoring that LaunchProcess () adds will kick in, allowing the
      GDBRemoteCommunicationServer to be able to reap processes started with
      this facility correctly. Later, in the case of lldb-gdbserver, we'll
      also have the proper process monitoring going on to really debug the
      inferior process.
      
      llvm-svn: 200246
      9f377373
    • Todd Fiala's avatar
      Fix group stop signal handling issue on Linux. · 1b0539c7
      Todd Fiala authored
      This patch addresses a bug where in a multi-threaded program a new
      signal from the inferior may be received before all group-stop
      messages from an earlier signal have been handled.
      
      Patch by Andrew MacPherson
      
      llvm-svn: 200226
      1b0539c7
Loading