- May 07, 2013
-
-
Jason Molenda authored
force this to be a DynamicLoaderDarwinKernel debug session even if we didn't get back a load address for the kernel. llvm-svn: 181264
-
rdar://problem/13063912Enrico Granata authored
If the user pressed ^D, that would bypass the exit confirmation mechanism This checkin remedies that by making sure that users get prompted on exit when appropriate even if they use CTRL+D instead of typing quit at the prompt llvm-svn: 181257
-
- May 06, 2013
-
-
Daniel Malea authored
llvm-svn: 181239
-
rdar://problem/11669154Enrico Granata authored
Make a summary format for libc++ STL containers that shows the number of items as before, but also shows the pointer value for pointer-to-container llvm-svn: 181236
-
Enrico Granata authored
llvm-svn: 181218
-
Jason Molenda authored
print "//mach_kernel" if you are debugging an executable in the top level directory. llvm-svn: 181190
-
- May 04, 2013
-
-
Jason Molenda authored
to not let it update the thread list or else we'll infinite recurse call back to UpdateThreadList. llvm-svn: 181106
-
Greg Clayton authored
After recent OperatingsSystem plug-in changes, the lldb_private::Process and lldb_private::Thread subclasses were changed and the API was not respected properly. This checkin aims to fix this. The process now has two thread lists: a real thread list for threads that are created by the lldb_private::Process subclass, and the user visible threads. The user visible threads are the same as the real threas when no OS plug-in in used. But when an OS plug-in is used, the user thread can be a combination of real and "memory" threads. Real threads can be placed inside of memory threads so that a thread appears to be different, but is still controlled by the actual real thread. When the thread list needs updating, the lldb_private::Process class will call the: lldb_private::Process::UpdateThreadList() function with the old real thread list, and the function is expected to fill in the new real thread list with the current state of the process. After this function, the process will check if there is an OS plug-in being used, and if so, it will give the old user thread list, the new real thread list and the OS plug-in will create the new user thread list from both of these lists. If there is no OS plug-in, the real thread list is the user thread list. These changes keep the lldb_private::Process subclasses clean and no changes are required. llvm-svn: 181091
-
Jason Molenda authored
Most important was a new[] + delete mismatch in ScanFormatDescriptor() and a couple of possible memory leaks in FileSpec::EnumerateDirectory(). llvm-svn: 181080
-
Jason Molenda authored
UUID string in; added UUID::GetAsString() which returns the uuid string in a std::string. Updated callers to use the new method. llvm-svn: 181078
-
Enrico Granata authored
This was causing a bunch of test cases to fail in python_api/process since they relied on SBValue::GetLocation() llvm-svn: 181075
-
Greg Clayton authored
llvm-svn: 181074
-
Greg Clayton authored
llvm-svn: 181069
-
Jim Ingham authored
rdar://problem/13788593 llvm-svn: 181068
-
Jason Molenda authored
help performance -- if the FileSpec we're examining does not contain the UUID we're looking for, don't bother examining the file any further. llvm-svn: 181063
-
Greg Clayton authored
Clear up any deadlocks on Apple builds that were due to the lldb_private::Process.m_private_run_lock variable. If someone on Linux and/or FreeBSD can try to comment out the " #if defined(__APPLE__)" that surrounds access to "m_private_run_lock" and run the test suite, that would be nice. The new location where the locking/unlocking happens is bulletproof on MacOSX, and I want to verify that it is good on linux as well. llvm-svn: 181061
-
- May 03, 2013
-
-
Ashok Thirumurthi authored
- Decouples RegisterContext_x86_64 from UserArea. - Restores the original definition of UserArea so that it can be used to generate offsets for use with ptrace. - Moves UserArea to the 64-bit Linux specialization. - Also fixes an off-by-one error for the size of m_gpr. - Also adds a TODO comment noting the need for a mechanism to identify the correct plugin based on the target OS (and architecture). Reviewed by: Matt Kopec and Samuel Jacob llvm-svn: 181055
-
Andrew Kaylor authored
llvm-svn: 181049
-
Enrico Granata authored
llvm-svn: 181045
-
rdar://problem/13749871Enrico Granata authored
Improvements to the std::map data formatter to recognize when invalid memory is being explored and bail out instead of looping for a potentially very long time llvm-svn: 181044
-
Greg Clayton authored
llvm-svn: 181028
-
Ashok Thirumurthi authored
Reviewed by: Daniel Malea llvm-svn: 181027
-
Sylvestre Ledru authored
llvm-svn: 181024
-
Ashok Thirumurthi authored
llvm-svn: 181018
-
Jason Molenda authored
thread before UnwindLLDB::AddOneMoreFrame calls it quits. We have a couple of reports of unending backtraces in the field and we haven't been able to collect any information about what kind of backtrace is causing this. We've found on Mac OS X that it's tricky to get more than around 200k stack frames before a process exceeds its stack space so we're starting with a hard limit of 300,000 frames. <rdar://problem/13383069> llvm-svn: 180995
-
Jason Molenda authored
llvm-svn: 180994
-
Greg Clayton authored
llvm-svn: 180993
-
Jason Molenda authored
match when looking at kext on the local filesystem. <rdar://problem/13785112> llvm-svn: 180989
-
rdar://problem/11742979Enrico Granata authored
SWIG is smart enough to recognize that C++ operators == and != mean __eq__ and __ne__ in Python and do the appropriate translation But it is not smart enough to recognize that mySBObject == None should return False instead of erroring out The %pythoncode blocks are meant to provide those extra smarts (and they play some SWIG&Python magic to find the right function to call behind the scenes with no risk of typos :-) Lastly, SBBreakpoint provides an == but never provided a != operator - common courtesy is to provide both llvm-svn: 180987
-
rdar://problem/13751683Greg Clayton authored
Make sure to handle all thumb variants correctly. llvm-svn: 180984
-
Andrew Kaylor authored
llvm-svn: 180977
-
rdar://problem/11558812Enrico Granata authored
Allow command script import to load packages. e.g.: egranata$ ./lldb (lldb) command script import lldb.macosx.crashlog "crashlog" and "save_crashlog" command installed, use the "--help" option for detailed help "malloc_info", "ptr_refs", "cstr_refs", and "objc_refs" commands have been installed, use the "--help" options on these commands for detailed help. The "unwind-diagnose" command has been installed, type "help unwind-diagnose" for detailed help. (lldb) ./lldb (lldb) command script import theFoo I am happy (lldb) fbc àèìòù (lldb) egranata$ ls theFoo/ __init__.py theBar.py egranata$ cat theFoo/__init__.py import lldb import theBar def __lldb_init_module(debugger, internal_dict): print "I am happy" debugger.HandleCommand("command script add -f theFoo.theBar.theCommand fbc") return None egranata$ cat theFoo/theBar.py #encoding=utf-8 def theCommand(debugger, command, result, internal_dict): result.PutCString(u"àèìòù") return None llvm-svn: 180975
-
Jim Ingham authored
If HandleCommands is called with add_to_history set to false, turn on the m_command_source_depth so that when we forget the value for regex & alias commands it still stays off. <rdar://problem/13795202> llvm-svn: 180971
-
rdar://problem/13732521Enrico Granata authored
Updated the logic for the Sketch test case llvm-svn: 180966
-
Greg Clayton authored
Mark TestConstVariables as expected to fail due to radar 13314878 on darwin. The tests are already skipped on linux. llvm-svn: 180965
-
rdar://problem/13788674Greg Clayton authored
TestPlatformCommand failing on buildbot. llvm-svn: 180963
-
Jason Molenda authored
DynamicLoaderDarwinKernel finds in memory, have DynamicLoaderDarwinKernel re-set the Target's arch based on the kernel's cpu type / cpu subtype. llvm-svn: 180962
-
rdar://problem/13788579Greg Clayton authored
TestRegisters failing on buildbot on MacOSX. Some registers that were valid for linux/freebsd, were not valid on MacOSX. The tests now allow a register be skipped if it doesn't exist on the host. llvm-svn: 180961
-
- May 02, 2013
-
-
Daniel Malea authored
- moved build logic from Makefile and TestPublicAPIHeaders.py into lldbtest to allow reuse - added decorator @skipIfi386 llvm-svn: 180955
-
Daniel Malea authored
llvm-svn: 180954
-