- 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
-
Johnny Chen authored
The swig "autodoc" feature to remove '*' from 'char *' will be handled by doing post-processing on the lldb.py module. llvm-svn: 134524
-
Enrico Granata authored
- ${*var[].something} was not working as expected options -p and -r now also work for type format add llvm-svn: 134523
-
Johnny Chen authored
llvm-svn: 134519
-
Greg Clayton authored
objective C or C++ methods when "self" or "this" were in scope, but had invalid locations in a DWARF location list. The lack of a valid value caused us to use an invalid type value and then we tried to import that invalid value and we would crash. llvm-svn: 134518
-
Jim Ingham authored
llvm-svn: 134505
-
Greg Clayton authored
would return instead of a less than helpful "name: '%s'" description. Make sure that when we ask for the error from a ValueObject object we first update the value if needed. Cleaned up some SB functions to use internal functions and not re-call through the public API when possible. llvm-svn: 134497
-
Enrico Granata authored
llvm-svn: 134492
-
Greg Clayton authored
instructions if they are conditional. Also fixed issues where the PC wasn't getting bit zero stripped for ARM targets when a stack frame was thumb. We now properly call through the GetOpcodeLoadAddress() functions to make sure the addresses are properly stripped for any targets that may decorate up their addresses. We now don't pass the SIGSTOP signals along. We can revisit this soon, but currently this was interfering with debugging some older ARM targets that don't have vCont support in the GDB server. llvm-svn: 134461
-
Enrico Granata authored
- ${*expr} now simply means to dereference expr before actually using it - bitfields, array ranges and pointer ranges now work in a (hopefully) more natural and language-compliant way a new class TypeHierarchyNavigator replicates the behavior of the FormatManager in going through type hierarchies when one-lining summary strings, children's summaries can be used as well as values llvm-svn: 134458
-
Johnny Chen authored
llvm-svn: 134452
-
Johnny Chen authored
llvm-svn: 134451
-
Johnny Chen authored
Fix typos in the comment for Module.h. llvm-svn: 134446
-
- Jul 05, 2011
-
-
Johnny Chen authored
Add doxygen/docstring to SBProcess.RemoteAttachToProcessWithID() API method. llvm-svn: 134437
-
- Jul 03, 2011
-
-
Johnny Chen authored
generated from the swig docstring features instead of blindly applying the cleanup action for all input lines. llvm-svn: 134368
-
Johnny Chen authored
Add post-processing step to remove the trailing blank lines from the docstrings of lldb.py. llvm-svn: 134360
-
Greg Clayton authored
a file or socket. We now make a getsockopt call to check if the fd is a socket. Also, the previous logic in the GDB communication needs to watch for success with an error so we can deal with EAGAIN and other normal "retry" error codes. llvm-svn: 134359
-
- Jul 02, 2011
-
-
Greg Clayton authored
_only_ in the resulting stream, not in the error objects (lldb_private::Error). lldb_private::Error objects should always just have an error string with no terminating newline characters or periods. Fixed an issue with GDB remote packet detection that could end up deadlocking if a full packet wasn't received in one chunk. Also modified the packet checking function to properly toss one or more bytes when it detects bad data. llvm-svn: 134357
-
Peter Collingbourne authored
llvm-svn: 134347
-
Johnny Chen authored
llvm-svn: 134326
-
Johnny Chen authored
Especially SBProcess.ReadMemory() and SBProcess.WriteMemory() because the generated autodoc strings make no sense for Python programmers due to typemap (see lldb.swig). llvm-svn: 134301
-
Enrico Granata authored
llvm-svn: 134294
-
Enrico Granata authored
- type names can now be regular expressions (exact matching is done first, and is faster) - integral (and floating) types can be printed as bitfields, i.e. ${var[low-high]} will extract bits low thru high of the value and print them - array subscripts are supported, both for arrays and for pointers. the syntax is ${*var[low-high]}, or ${*var[]} to print the whole array (the latter only works for statically sized arrays) - summary is now printed by default when a summary string references a variable. if that variable's type has no summary, value is printed instead. to force value, you can use %V as a format specifier - basic support for ObjectiveC: - ObjectiveC inheritance chains are now walked through - %@ can be specified as a summary format, to print the ObjectiveC runtime description for an object - some bug fixes llvm-svn: 134293
-
Johnny Chen authored
the presence of 'const'. Ifndef the non-const one out. llvm-svn: 134284
-
Johnny Chen authored
take advantage of them. Update modify-python-lldb.py to remove some 'residues' resulting from swigification. llvm-svn: 134269
-
- Jul 01, 2011
-
-
Johnny Chen authored
A few of the auto-generated method docstrings don't look right, and may need to be fixed by either overwriting the auto-gened docstrings or some post-processing steps. llvm-svn: 134246
-
Greg Clayton authored
llvm-svn: 134232
-
Greg Clayton authored
I am giving up the fight... llvm-svn: 134230
-
- Jun 30, 2011
-
-
Johnny Chen authored
llvm-svn: 134192
-
Johnny Chen authored
Python SWIG, since it cannot hanlde the (uint32_t &count) parameter. llvm-svn: 134176
-
Jason Molenda authored
should make it a little easier to use this as an example of how to fetch all the different bits of information about threads. llvm-svn: 134135
-
Greg Clayton authored
"struct ", "class ", and "union " from the start of any type names that are extracted from clang QualType objects. I had to fix test suite cases that were expecting the struct/union/class prefix to be there. llvm-svn: 134132
-
Johnny Chen authored
the find_global_variables() test method. Skipping test_find_global_variables_with_dwarf(self) due to segmentation fault. llvm-svn: 134118
-
Johnny Chen authored
llvm-svn: 134109
-
Enrico Granata authored
This commit adds a new top subcommand "summary" to command type named "type". Currently this command implements three commands: type summary add <format> <typename1> [<typename2> ...] type summary delete <typename1> [<typename2> ...] type summary list [<typename1> [<typename2>] ...] type summary clear This allows you to specify the default format that will be used to display summaries for variables, shown when you use "frame variable" or "expression", or the SBValue classes. Examples: type summary add "x = ${var.x}" Point type summary list type summary add --one-liner SimpleType llvm-svn: 134108
-
Johnny Chen authored
llvm-svn: 134107
-
Greg Clayton authored
level in the public API. Also modified the ValueObject values to be able to display global variables without having a valid running process. The globals will read themselves from the object file section data if there is no process, and from the process if there is one. Also fixed an issue where modifications for dynamic types could cause child values of ValueObjects to not show up if the value was unable to evaluate itself (children of NULL pointer objects). llvm-svn: 134102
-
- Jun 29, 2011
-
-
Johnny Chen authored
llvm-svn: 134098
-