- Jul 10, 2011
-
-
Greg Clayton authored
emit an error to stderr when we see this issue. llvm-svn: 134872
-
- Jul 09, 2011
-
-
Greg Clayton authored
Made it so that you can create synthetic children of array value objects. This is for creating array members when the array index is out of range. This comes in handy when you have a structure definition like: struct Collection { uint32_t count; Item array[0]; }; "array" has 1 item, but many times in practice there are more items in "item_array". This allows you to do: (lldb) target variable g_collection.array[3] To implement this, the get child at index has been modified to have a "ignore_array_bounds" boolean that can be set to true. llvm-svn: 134846
-
Greg Clayton authored
llvm-svn: 134827
-
Greg Clayton authored
llvm-svn: 134826
-
Greg Clayton authored
breakpoint. I haven't been able to see this breakpoint get hit yet so I still have testing I need to do with the kernel dynamic loader. llvm-svn: 134825
-
Greg Clayton authored
thanks to a nice clang warning! llvm-svn: 134824
-
Greg Clayton authored
variable where we were using a static cast when we shouldn't have been. Fixed another array related issue where we weren't looking through a typedef. llvm-svn: 134823
-
Jim Ingham authored
llvm-svn: 134780
-
Greg Clayton authored
shared library, etc) and strata (user/kernel) from an object file. This will help with plug-in and platform selection when given a new binary with the "target create <file>" command. llvm-svn: 134779
-
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
-