- Jul 14, 2011
-
-
Johnny Chen authored
Add logic to modify-python-lldb to correct swig's transformation of 'char **argv' and 'char **envp' to 'char argv' and 'char envp' by morphing them into the 'list argv' and 'list envp' (as a list of Python strings). llvm-svn: 135114
-
Johnny Chen authored
llvm-svn: 135108
-
Johnny Chen authored
Use %feature("docstring") for methods of SBModule class so that the methods signature also gets generated in the Python docstring. llvm-svn: 135105
-
Johnny Chen authored
clang/gcc/llvm-gcc. If the first breakpoint is due to stop at an inlined frame, test that the call site corresponds to where it should be. Also add an expecr for a second break stop, if the first break stop corresponds to an inlined call frame #0. rdar://problem/9741470 llvm-svn: 135100
-
- Jul 13, 2011
-
-
Johnny Chen authored
rdar://problem/9763907 llvm-svn: 135069
-
Johnny Chen authored
llvm-svn: 135019
-
Johnny Chen authored
llvm-svn: 135016
-
Enrico Granata authored
llvm-svn: 135012
-
Johnny Chen authored
Currently it fails after the inferior is run. rdar://problem/9763907 llvm-svn: 135009
-
Enrico Granata authored
llvm-svn: 135008
-
Enrico Granata authored
- formats %s %char[] %c and %a now work to print 0-terminated c-strings if they are applied to a char* or char[] even without the [] operator (e.g. ${var%s}) - array formats (char[], intN[], ..) now work when applied to an array of a scalar type even without the [] operator (e.g. ${var%int32_t[]}) LLDB will not crash because of endless loop when trying to obtain a summary for an object that has no value and references itself in its summary string In many cases, a wrong summary string will now display an "<error>" message instead of giving out an empty string llvm-svn: 135007
-
Johnny Chen authored
llvm-svn: 135005
-
- Jul 12, 2011
-
-
Greg Clayton authored
by name by adding an extra parameter to the lldb_private::Target breakpoint setting functions. Added a function in the DWARF symbol file plug-in that can dump errors and prints out which DWARF file the error is happening in so we can track down what used to be assertions easily. Fixed the MacOSX kernel plug-in to properly read the kext images and set the kext breakpoint to watch for kexts as they are loaded. llvm-svn: 134990
-
Jim Ingham authored
Also made: (lldb) !<NUM> (lldb) !-<NUM> (lldb) !! work with the history. For added benefit: (lldb) !<NUM><TAB> will insert the command at position <NUM> in the history into the command line to be edited. This is only partial, I still need to sync up editline's history list with the one kept by the interpreter. llvm-svn: 134955
-
Enrico Granata authored
llvm-svn: 134944
-
Enrico Granata authored
- a new --name option for "type summary add" lets you give a name to a summary - a new --summary option for "frame variable" lets you bind a named summary to one or more variables ${var%s} now works for printing the value of 0-terminated CStrings type format test case now tests for cascading - this is disabled on GCC because GCC may end up stripping typedef chains, basically breaking cascading new design for the FormatNavigator class new template class CleanUp2 meant to support cleanup routines with 1 additional parameter beyond resource handle llvm-svn: 134943
-
Johnny Chen authored
Passing in os.ctermid() as the arg for SBTarget.Launch(...) for stdin_path, stdout_path, and stderr_path is just wrong and resulted in the inferior's output getting mixed into the GDB remote communication's log file. Change all test cases to not pass os.ctermid() and either use SBTarget.LaunchSimple() or SBTarget.Launch() and pass None as stdin_path/stdout_path/srderr_path to use a pseudo terminal. rdar://problem/9716499 program output is getting mixed into the GDB remote communications llvm-svn: 134940
-
- Jul 11, 2011
-
-
Johnny Chen authored
llvm-svn: 134924
-
Johnny Chen authored
Only the val (of SBValue type) argument is needed. llvm-svn: 134915
-
Jim Ingham authored
llvm-svn: 134914
-
Enrico Granata authored
llvm-svn: 134912
-
Enrico Granata authored
llvm-svn: 134911
-
Johnny Chen authored
rdar://problem/9745789 "expression" can't call functions in class methods llvm-svn: 134910
-
Johnny Chen authored
before issuing API calls to find the global variable and to get its value. rdar://problem/9700873 has been updated to reflect the latest status. The dwarf case now does not seg fault if the inferior is not started; instead, for dwarf case, the value retrieved from the global variable is None. llvm-svn: 134909
-
Greg Clayton authored
with the "target modules lookup --address <addr>" command. The variable ID's, names, types, location for the address, and declaration is displayed. This can really help with crash logs since we get, on MacOSX at least, the registers for the thread that crashed so it is often possible to figure out some of the variable contents. llvm-svn: 134886
-
- Jul 10, 2011
-
-
Greg Clayton authored
use lldb_private::Target::ReadMemory(...) to allow constant strings to be displayed in global variables prior on in between process execution. Centralized the variable declaration dumping into: bool Variable::DumpDeclaration (Stream *s, bool show_fullpaths, bool show_module); Fixed an issue if you used "target variable --regex <regex>" where the variable name would not be displayed, but the regular expression would. Fixed an issue when viewing global variables through "target variable" might not display correctly when doing DWARF in object files. llvm-svn: 134878
-
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
-