- Sep 24, 2011
-
-
Johnny Chen authored
SBModule supports an additional SBSection iteration, besides the original SBSymbol iteration. Add docstrings and implement the two SBSection iteration protocols. llvm-svn: 140449
-
Jason Molenda authored
print result information if a kext fails to be located or loaded for some reason. llvm-svn: 140447
-
Greg Clayton authored
Added the ability to get the name of the SBSection. llvm-svn: 140444
-
Greg Clayton authored
llvm-svn: 140442
-
Jim Ingham authored
Add GetAddress to SBBreakpointLocation, and put the .i files in the API section of the Xcode project. llvm-svn: 140440
-
Johnny Chen authored
llvm-svn: 140439
-
Greg Clayton authored
- New SBSection objects that are object file sections which can be accessed through the SBModule classes. You can get the number of sections, get a section at index, and find a section by name. - SBSections can contain subsections (first find "__TEXT" on darwin, then us the resulting SBSection to find "__text" sub section). - Set load addresses for a SBSection in the SBTarget interface - Set the load addresses of all SBSection in a SBModule in the SBTarget interface - Add a new module the an existing target in the SBTarget interface - Get a SBSection from a SBAddress object This should get us a lot closer to being able to symbolicate using LLDB through the public API. llvm-svn: 140437
-
Johnny Chen authored
set a watchpoint Pythonically. If the find-and-watch-a-variable operation fails, an invalid SBValue is returned, instead. Example Python usage: value = frame0.WatchValue('global', lldb.eValueTypeVariableGlobal, lldb.LLDB_WATCH_TYPE_READ|lldb.LLDB_WATCH_TYPE_WRITE) Add TestSetWatchpoint.py to exercise this API. We have 400 test cases now. llvm-svn: 140436
-
- Sep 23, 2011
-
-
Johnny Chen authored
It should not crash lldb. llvm-svn: 140421
-
Jim Ingham authored
too long, so that the jump from the line above the bad line to the line after ends up in the middle of the bad line instead. Added a workaround to lldb to just continue to the end if we find ourselves stopped in the middle of some other line. llvm-svn: 140419
-
Johnny Chen authored
Add a (bool)end_to_end parameter, default true, to the Target::Remove/Disable/EnableALLWatchpointLocations() methods. If passed as false, it signifies that only the debugger side is affected. Modify Target::DeleteCurrentProcess() to use DisableAllWatchpointLocations(false) to disable the watchpoint locations, instead of removing them between process instances. llvm-svn: 140418
-
Jason Molenda authored
return before we try to dereference the target later in the function. Currently, % lldb -x (lldb) target stop-hook list crashes because of this. llvm-svn: 140417
-
Jim Ingham authored
If stepping takes us from the line range we were stepping through into the MIDDLE of another line, then continue till we get to the real beginning of a line. This is mostly to work around debug information bugs. llvm-svn: 140416
-
Johnny Chen authored
llvm-svn: 140398
-
Johnny Chen authored
llvm-svn: 140396
-
Johnny Chen authored
llvm-svn: 140393
-
Johnny Chen authored
Update the test case to fix test suite failure. llvm-svn: 140392
-
Jim Ingham authored
etc to specific source files. Added SB API's to specify these source files & also more than one module. Added an "exact" option to CompileUnit's FindLineEntry API. llvm-svn: 140362
-
Jason Molenda authored
the stop-hooks. I've been living on lldb with some stop-hooks defined for the past week and the five extra lines of output on every stop is really detracting from the usefulness of this feature. llvm-svn: 140358
-
Jason Molenda authored
newlines output at the end of 'image lookup' / 'image lookup -v'. llvm-svn: 140357
-
Johnny Chen authored
Add eArgTypeWatchpointID and eArgTypeWatchpointIDRange to the CommandArgumentType enums and modify the signature of CommandObject::AddIDsArgumentData() from: AddIDsArgumentData(CommandArgumentEntry &arg) to: AddIDsArgumentData(CommandArgumentEntry &arg, CommandArgumentType ID, CommandArgumentType IDRange) to accommodate. llvm-svn: 140346
-
- Sep 22, 2011
-
-
Greg Clayton authored
llvm-svn: 140338
-
Johnny Chen authored
Test cases to be added later. llvm-svn: 140322
-
Greg Clayton authored
shared pointers. Changed the ExecutionContext over to use shared pointers for the target, process, thread and frame since these objects can easily go away at any time and any object that was holding onto an ExecutionContext was running the risk of using a bad object. Now that the shared pointers for target, process, thread and frame are just a single pointer (they all use the instrusive shared pointers) the execution context is much safer and still the same size. Made the shared pointers in the the ExecutionContext class protected and made accessors for all of the various ways to get at the pointers, references, and shared pointers. llvm-svn: 140298
-
Jason Molenda authored
llvm-svn: 140289
-
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
-