- Sep 22, 2011
-
-
Sean Callanan authored
it to generate result variables that were not bound to their underlying data. This allowed the SBValue class to use the interpreter (if possible). Also made sure that any result variables that point to stack allocations in the stack frame of the interpreted expressions do not get live data. llvm-svn: 140285
-
Johnny Chen authored
the WatchpointLocation object to check whether it should stop and allow it to update the hit count, among other bookkeepings. llvm-svn: 140279
-
- Sep 21, 2011
-
-
Greg Clayton authored
llvm-svn: 140239
-
Greg Clayton authored
a file when the target has a triple with an unknown vendor and/or OS and the slice of the file itself has a valid vendor and/or OS. The Module now adopts the ObjectFile's architecture after a valid architecture has been loaded to make sure the module matches the object file. llvm-svn: 140236
-
Jim Ingham authored
Fix the RegularExpression class so it has a real copy constructor. Fix the breakpoint setting with multiple shared libraries so it makes one breakpoint not one per shared library. Add SBFileSpecList, to be used to expose the above to the SB interface (not done yet.) llvm-svn: 140225
-
Johnny Chen authored
llvm-svn: 140222
-
Johnny Chen authored
to the command argument entry. Add a static helper function: CommandObject::AddIDsArgumentData(CommandArgumentEntry &arg) to be used from CommandObjectBreakpoint.cpp. The helper function could also be useful for commands in the future to manipulate watchpoints. llvm-svn: 140221
-
Johnny Chen authored
Plus some minor changes to the WatchpointLocationList and WatchpointLocation classes. llvm-svn: 140211
-
Jason Molenda authored
llvm-svn: 140205
-
Sean Callanan authored
allocate memory in a process that did not support expression execution. Also improved detection of whether or not a process can execute expressions. llvm-svn: 140202
-
- Sep 20, 2011
-
-
Jason Molenda authored
stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185
-
Johnny Chen authored
llvm-svn: 140150
-
Jason Molenda authored
__attribute__ format so the compiler knows that this method takes printf style formatter arguments and checks that it's being used correctly. Fix a couple dozen incorrect SetErrorStringWithFormat() calls throughout the sources. llvm-svn: 140115
-
- Sep 19, 2011
-
-
Johnny Chen authored
through the watchpoint locations by index. llvm-svn: 140071
-
Johnny Chen authored
Patch by Filipe. llvm-svn: 140037
-
- Sep 18, 2011
-
-
Greg Clayton authored
used to do this because we needed to find the shared pointer for a .o file when the .o file's module was needed in a SymbolContext since the module in a symbol context was a shared pointer. Now that we are using intrusive pointers we don't have this limitation anymore since any instrusive shared pointer can be made from a pointer to an object all on its own. Also switched over to having the Module and SymbolVendor use shared pointers to their object files as had a leak on MacOSX when the SymbolVendor's object file wasn't the same as the Module's (debug info in a stand along file (dSYM file)). Now everything will correctly clean itself up when the module goes away after an executable gets rebuilt. Now we correctly get rid of .o files that are used with the DWARF with debug map executables on subsequent runs since the only shared pointer to the object files in from the DWARF symbol file debug map parser, and when the module gets replaced, it destroys to old one along with all .o files. Also added a small optimization when using BSD archives where we will remove old BSD containers from the shared list when they are outdated. llvm-svn: 140002
-
- Sep 17, 2011
-
-
Greg Clayton authored
lldb_private::Breakpoint lldb_private::BreakpointLocations lldb_private::BreakpointSite lldb_private::Debugger lldb_private::StackFrame lldb_private::Thread lldb_private::Target llvm-svn: 139985
-
Greg Clayton authored
ModuleSP Module::GetSP(); Since we are now using intrusive ref counts, we can easily turn any pointer to a module into a shared pointer just by assigning it. llvm-svn: 139984
-
Greg Clayton authored
We had some cases where getting the shared pointer for a module from the global module list was causing a performance issue when debugging with DWARF in .o files. Now that the module uses intrusive ref counts, we can easily convert any pointer to a shared pointer. llvm-svn: 139983
-
Greg Clayton authored
llvm-svn: 139982
-
Greg Clayton authored
cases where we were returning no error even though this packet was failing. llvm-svn: 139981
-
Greg Clayton authored
be able to display 256 byte registers. llvm-svn: 139980
-
Johnny Chen authored
data sent back to the debugger. On the debugger side, use the opportunity during the StopInfoMachException::CreateStopReasonWithMachException() method to set the hardware index for the very watchpoint location. llvm-svn: 139975
-
- Sep 16, 2011
-
-
Johnny Chen authored
llvm-svn: 139948
-
Johnny Chen authored
llvm-svn: 139947
-
Johnny Chen authored
Modify CommandObjectFrame.cpp to populate this field when creating a watchpoint location. Update the test case to verify that the declaration info matches the file and line number. llvm-svn: 139946
-
Johnny Chen authored
llvm-svn: 139924
-
Johnny Chen authored
llvm-svn: 139920
-
Johnny Chen authored
lookup and cacheing of dSYMs is not enabled, the 'defaults read com.apple.DebugSymbols' output is not shown. llvm-svn: 139914
-
Jason Molenda authored
the arm emulate instruction unwinder so you can leave it on by default and not be overwhelmed. Set verbose mode to get the full story on how the unwindplans were created. llvm-svn: 139897
-
Johnny Chen authored
of dSYMs is not turned on before running the test suite. llvm-svn: 139896
-
Johnny Chen authored
llvm-svn: 139867
-
Johnny Chen authored
llvm-svn: 139863
-
Johnny Chen authored
llvm-svn: 139862
-
- Sep 15, 2011
-
-
Johnny Chen authored
llvm-svn: 139857
-
Johnny Chen authored
llvm-svn: 139855
-
Jim Ingham authored
Track whether a process was Launched or Attached to. If Attached, the detach when the debugger is destroyed, rather than killing the process. Also added a Debugger::Clear, which gets called in Debugger::Destroy to deal with all the targets in the Debugger. Also made the Driver's main loop call Destroy on the debugger, rather than just Destroying the currently selected Target's process. llvm-svn: 139853
-
Jim Ingham authored
Track whether a process was Launched or Attached to. If Attached, the detach when the debugger is destroyed, rather than killing the process. Also added a Debugger::Clear, which gets called in Debugger::Destroy to deal with all the targets in the Debugger. Also made the Driver's main loop call Destroy on the debugger, rather than just Destroying the currently selected Target's process. llvm-svn: 139852
-
Johnny Chen authored
llvm-svn: 139847
-
Johnny Chen authored
llvm-svn: 139840
-