Developing debugging solutions for Synopsys ARC processors.
- User Since
- Jan 10 2019, 4:48 AM (118 w, 10 h)
Mar 24 2020
Added attach_info conversion into the same revision.
Mar 23 2020
Mar 18 2020
Mar 13 2020
Mar 12 2020
Removed function declaration as requested.
Mar 11 2020
Feb 12 2020
Updated in attempt to reduce amount of code duplication between request_attach and request_launch.
Built and tested with testsuite on Linux/x64, also built and manually tested on Windows/x64 host with a baremetal ARC cpu target.
Feb 11 2020
Reverted to the original idea of modifying lldb-vscode. Unlike first version, this commit also modifies request_attach to have the same behaviour. Two new properties are added to request arguments: "targetTriple" and "platformName" to specify values to respective arguments of SBDebugger::CreateTarget().
Feb 2 2020
My original patch was changing lldb-vscode - it was creating a new Target object with ELF given to a constructor. That patch, though definitely would need an update - it should delete the original empty target after creating the new one, but it was leaving it alive. To me this solution looks preferable, because I'm a fanboy for immutable objects in general, and in this specific case I don't fully understand all of the potential side effects of the SetExecutable call.
Jan 31 2020
Jan 27 2020
Added a testcase. Because target's architecture is not directly exposed through an API, test looks at the target triplet - it is empty for targets created without an exe file. Without the patch, triplet remains unchanged after adding an executable, but with the patch, it changes to the architecture of the executable file, whichever it is.
Jan 20 2020
Dec 6 2019
Reimplement the solution based on a comment from Greg.
Dec 3 2019
Nov 29 2019
Apr 29 2019
Allocate path buffer on stack instead of heap.
Apr 26 2019
Apr 22 2019
Apr 16 2019
Apr 9 2019
Replaced static local variable (as can be found in CMICmnLLDBDebugSessionInfo::GetFrameInfo) with a unique_ptr to the char array (as done in CMICmnLLDBDebuggerHandleEvents::MiHelpGetModuleInfo).
Apr 5 2019
Added a simple test case.