- Jul 09, 2011
-
-
Johnny Chen authored
llvm-svn: 134775
-
-
Johnny Chen authored
llvm-svn: 134771
-
Johnny Chen authored
llvm-svn: 134769
-
Johnny Chen authored
Add a usage example of SBEvent APIs. o SBEvent.h and SBListener.h: Add method docstrings for SBEvent.h and SBListener.h, and example usage of SBEvent into the class docstring of SBEvent. o lldb.swig: Add typemap for SBEvent::SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len) so that we can use, in Python, obj2 = lldb.SBEvent(0, "abc") to create an SBEvent. llvm-svn: 134766
-
- Jul 08, 2011
-
-
Greg Clayton authored
you can do things like: (lldb) target variable g_global.a (lldb) target variable *g_global.ptr (lldb) target variable g_global.ptr[1] llvm-svn: 134745
-
Jim Ingham authored
llvm-svn: 134736
-
Jim Ingham authored
llvm-svn: 134717
-
Greg Clayton authored
recursive function. Also fixed ClangASTContext::IsPointerType to correctly NULL out the pointee handle if a valid one is provided. llvm-svn: 134715
-
Jason Molenda authored
the one process we're interested in, instead of fetching all of them and only keeping one. (the old implementation made sense when we were doing the initial find-this-process-by-pid-or-name by looking through all the kinfo_procs.) llvm-svn: 134686
-
Greg Clayton authored
loaded. It locks onto *-apple-darwin binaries where the binary has a "__KLD" segment. Soon I will modify the lldb_private::ObjectFile class to return an executable type which will be an enum with values something like: eObjectFileTypeUserExectable, eObjectFileTypeUserSharedLibrary, eObjectFileTypeKernelExectable, eObjectFileTypeKernelSharedLibrary, eObjectFileTypeObjectFile, eObjectFileTypeCoreFile But for now we look at the section since a user and kernel mach-o executable have the same mach-o file type. llvm-svn: 134682
-
Greg Clayton authored
process being preferred for all memory reads. llvm-svn: 134681
-
Enrico Granata authored
new GetValueForExpressionPath() method in ValueObject to navigate expression paths in a more bitfield vs slices aware way changes to the varformats.html document (WIP) llvm-svn: 134679
-
Johnny Chen authored
Right now clang-139 fails the test. llvm-svn: 134673
-
Greg Clayton authored
be detected yet, but most of the initial code is there and needs to be debugged more. llvm-svn: 134672
-
Sean Callanan authored
pointers. Some of the spots are obviously initialized later, but it's better just to NULL the pointers out at initialization to make the code more robust when exposed to later changes. llvm-svn: 134670
-
Jason Molenda authored
CommandCompletions.cpp and DataBufferMemoryMap.cpp. The file type part of the st_mode struct member is not a bitmask. llvm-svn: 134669
-
Jason Molenda authored
but we don't have an error message. llvm-svn: 134662
-
Johnny Chen authored
The Python API does not need SBEvent::BroadcasterMatchesPtr() when SBEvent::BroadcasterMatchesRef() suffices. llvm-svn: 134659
-
Sean Callanan authored
searching for variables and symbols in the target more robust. These checks prevent variables from being reported as existing if they cannot actually be evaluated in the current context. llvm-svn: 134656
-
Johnny Chen authored
llvm-svn: 134652
-
Johnny Chen authored
llvm-svn: 134651
-
Johnny Chen authored
llvm-svn: 134646
-
- Jul 07, 2011
-
-
Johnny Chen authored
llvm-svn: 134636
-
Johnny Chen authored
llvm-svn: 134632
-
Johnny Chen authored
llvm-svn: 134623
-
Enrico Granata authored
llvm-svn: 134613
-
Greg Clayton authored
constructing itself and causing unexpected things to happen in LLDB. llvm-svn: 134598
-
Greg Clayton authored
group class: OptionGroupVariable. It gets initialized with a boolean that indicates if the frame specific options are included so that this can be used in both the "frame variable" and "target variable" commands. Removed the global functionality from the "frame variable" command. Users should switch to using the "target variable" command. llvm-svn: 134594
-
Jim Ingham authored
llvm-svn: 134584
-
Greg Clayton authored
variables prior to running your binary. Zero filled sections now get section data correctly filled with zeroes when Target::ReadMemory reads from the object file section data. Added new option groups and option values for file lists. I still need to hook up all of the options to "target variable" to allow more complete introspection by file and shlib. Added the ability for ValueObjectVariable objects to be created with only the target as the execution context. This allows them to be read from the object files through Target::ReadMemory(...). Added a "virtual Module * GetModule()" function to the ValueObject class. By default it will look to the parent variable object and return its module. The module is needed when we have global variables that have file addresses (virtual addresses that are specific to module object files) and in turn allows global variables to be displayed prior to running. Removed all of the unused proxy object support that bit rotted in lldb_private::Value. Replaced a lot of places that used "FileSpec::Compare (lhs, rhs) == 0" code with the more efficient "FileSpec::Equal (lhs, rhs)". Improved logging in GDB remote plug-in. llvm-svn: 134579
-
Enrico Granata authored
llvm-svn: 134575
-
Enrico Granata authored
some changes to the help system code for better display of long help text -p and -r flags now also work for type format add llvm-svn: 134574
-
Johnny Chen authored
llvm-svn: 134571
-
Johnny Chen authored
llvm-svn: 134560
-
Johnny Chen authored
the presence of 'const'. Ifndef the non-const one out. llvm-svn: 134553
-
Johnny Chen authored
llvm-svn: 134551
-
- Jul 06, 2011
-
-
Johnny Chen authored
Add post-processing step to transform the docstring from 'char', i.e., 'char *', to 'str', i.e., Python string. llvm-svn: 134543
-
Greg Clayton authored
llvm-svn: 134541
-
Greg Clayton authored
llvm-svn: 134534
-