- Sep 17, 2011
-
-
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
-
Sean Callanan authored
being initialized properly in the absence of a process. llvm-svn: 139823
-
Sean Callanan authored
attempt to obtain information from the process even in cases where the process isn't available. llvm-svn: 139803
-
Johnny Chen authored
llvm-svn: 139802
-
Johnny Chen authored
llvm-svn: 139800
-
Sean Callanan authored
to execute expressions even in the absence of a process. This allows expressions to run in situations where the target cannot run -- e.g., to perform calculations based on type information, or to inspect a binary's static data. This modification touches the following files: lldb-private-enumerations.h Introduce a new enum specifying the policy for processing an expression. Some expressions should always be JITted, for example if they are functions that will be used over and over again. Some expressions should always be interpreted, for example if the target is unsafe to run. For most, it is acceptable to JIT them, but interpretation is preferable when possible. Target.[h,cpp] Have EvaluateExpression now accept the new enum. ClangExpressionDeclMap.[cpp,h] Add support for the IR interpreter and also make the ClangExpressionDeclMap more robust in the absence of a process. ClangFunction.[cpp,h] Add support for the new enum. IRInterpreter.[cpp,h] New implementation. ClangUserExpression.[cpp,h] Add support for the new enum, and for running expressions in the absence of a process. ClangExpression.h Remove references to the old DWARF-based method of evaluating expressions, because it has been superseded for now. ClangUtilityFunction.[cpp,h] Add support for the new enum. ClangExpressionParser.[cpp,h] Add support for the new enum, remove references to DWARF, and add support for checking whether the expression could be evaluated statically. IRForTarget.[h,cpp] Add support for the new enum, and add utility functions to support the interpreter. IRToDWARF.cpp Removed CommandObjectExpression.cpp Remove references to the obsolete -i option. Process.cpp Modify calls to ClangUserExpression::Evaluate to pass the correct enum (for dlopen/dlclose) SBValue.cpp Add support for the new enum. SBFrame.cpp Add support for he new enum. BreakpointOptions.cpp Add support for the new enum. llvm-svn: 139772
-
Johnny Chen authored
the passed in (MachException::Data &)exc first before possible reassignment of the member m_stop_exception with exc. This allows lldb to stop at the watchpoint of a simple test program. llvm-svn: 139767
-
Jim Ingham authored
Take out all the separate places in Attach where we were getting the target architecture, and move that but of functionality into CompleteAttach. llvm-svn: 139766
-
Jim Ingham authored
Change the "attach" command to always wait synchronously for the target to stop. It's not very useful to return the prompt in mid-attach, and it makes reporting the result of the attach hard to do. llvm-svn: 139764
-
Jim Ingham authored
Fix ArchSpec::operator== to take the Triple into account as well as the Core. Also make the constructors explicit. llvm-svn: 139762
-
Jim Ingham authored
Fix ArchSpec::operator== to take the Triple into account as well as the Core. Also make the constructors explicit. llvm-svn: 139761
-
Jason Molenda authored
Have the FuncUnwinder object request & provide an architecture-defined UnwindPlan for unwinding from the first instruction of an otherwise unknown function call (GetUnwindPlanArchitectureDefaultAtFunctionEntry()). Update RegisterContextLLDB::GetFullUnwindPlanForFrame() to detect the case of a frame 0 at address 0x0 which indicates that we jumped through a NULL function pointer. Use the ABI's FunctionEntryUnwindPlan to find the caller frame. These changes make it so lldb can identify the calling frame correctly in code like int main () { void (*f)(void) = 0; f(); } llvm-svn: 139760
-
Greg Clayton authored
llvm-svn: 139759
-
Johnny Chen authored
llvm-svn: 139746
-
- Sep 14, 2011
-
-
Johnny Chen authored
Plus simplify WatchpointLocation::Dump() output. llvm-svn: 139724
-
Jim Ingham authored
to by the time we get to the AttachCompletionHandler, do it before completing the attach. llvm-svn: 139679
-
Johnny Chen authored
llvm-svn: 139673
-
Johnny Chen authored
Update I386 DNB impl to fix the same errors as DNBArchImplX86_64: ('==' instead of '=') and (by value instead of by reference). llvm-svn: 139667
-
Johnny Chen authored
o WatchpointLocationList: Add a GetListMutex() method. o WatchpointLocation: Fix Dump() method where there was an extra % in the format string. o Target.cpp: Add implementation to CreateWatchpointLocation() to create and enable a watchpoint. o DNBArchImplX86_64.cpp: Fix bugs in SetWatchpoint()/ClearWatchpoint() where '==' was used, instead of '=', to assign/reset the data break address to a debug register. Also fix bugs where a by reference debug_state should have been used, not by value. llvm-svn: 139666
-
Jim Ingham authored
allow attaching from the command line. llvm-svn: 139665
-