- Jun 20, 2011
-
-
Peter Collingbourne authored
llvm-svn: 133456
-
Johnny Chen authored
Revert r133358 which forgoes printing of breakpoint command when doing a breakpoint list where the description level is not eDescriptionLevelBrief. It broke test/TestAliases.py. Besides, to have a brief breakpoint list, you can do "breakpoint list -b". llvm-svn: 133455
-
Jim Ingham authored
Use the dyld_mode, image_infos & image_infos_count passed into the shared library notification function to update libraries rather than reading the whole all_imaage_infos structure every time we get notified. llvm-svn: 133448
-
Johnny Chen authored
Add TestInlinedFrame.py to exercise the newly added SBFrame APIs: IsInlined() and GetFunctionName(). llvm-svn: 133404
-
- Jun 19, 2011
-
-
Greg Clayton authored
llvm-svn: 133378
-
Greg Clayton authored
llvm-svn: 133377
-
Greg Clayton authored
so we avoid crashing. llvm-svn: 133376
-
Greg Clayton authored
operator counts due to bad debug DWARF debug info. We now verify the operator has a valid number of params using the clang operator tables. llvm-svn: 133375
-
Peter Collingbourne authored
Fixes the Linux build. llvm-svn: 133370
-
- Jun 18, 2011
-
-
Greg Clayton authored
useless to show. llvm-svn: 133358
-
Greg Clayton authored
const char * SBFrame::GetFunctionName(); bool SBFrame::IsInlined(); The first one will return the correct name for a frame. The name of a frame is: - the name of the inlined function (if there is one) - the name of the concrete function (if there is one) - the name of the symbol (if there is one) - NULL We also can now easily check if a frame is an inline function or not. llvm-svn: 133357
-
Greg Clayton authored
This us useful because sometomes you have to show a single character as: 'a' (using eFormatChar) and other times you might have an array of single charcters for display as: 'a' 'b' 'c', and other times you might want to show the contents of buffer of characters that can contain non printable chars: "\0\x22\n123". This also fixes an issue that currently happens when you have a single character C string (const char *a = "a"; or char b[1] = { 'b' };) that was being output as "'a'" incorrectly due to the way the eFormatChar format output worked. llvm-svn: 133316
-
Greg Clayton authored
issue in the way block variables are marked as parsed. In the DWARF parser we always parse all blocks for a function at once, so we can mark all blocks as having all variables parsed and avoid recursive function calls to try and reparse things that have already been handled. Fixed an issue with how variables get scoped into blocks. The DWARF parser can now handle abtract class definitions that contain concrete static variables. When the concrete instance of the class functions get instantiated, they will track down the concrete block for the abtract block and add the variable to each block. llvm-svn: 133302
-
- Jun 17, 2011
-
-
Johnny Chen authored
Let's remove the @expectedFailure marker from it. llvm-svn: 133294
-
Johnny Chen authored
Also eat the stdout of the spawned "hello_world" process if not in TraceOn() mode. llvm-svn: 133280
-
Johnny Chen authored
Among them are test cases to exercise SBTarget.AttachToProcessWithName(); we attach to "hello_world", and verify that, after attachment, the currently selected target indeed matches "hello_world". llvm-svn: 133279
-
Johnny Chen authored
Change the executable name to be "hello_world". llvm-svn: 133277
-
Greg Clayton authored
libraries and headers exist. This can be specified using the platform select function: platform select --sysroot /Volumes/remote-root remote-macosx Each platform subclass is free to interpret the sysroot as needed. Expose the new SDK root directory through the SBDebugger class. Fixed an issue with the GDB remote protocol where unimplemented packets were not being handled correctly. llvm-svn: 133231
-
Johnny Chen authored
llvm-svn: 133230
-
Greg Clayton authored
darwin (not sure about other platforms). Modified the communication and connection classes to not require the BytesAvailable function. Now the "Read(...)" function has a timeout in microseconds. Fixed a lot of assertions that were firing off in certain cases and replaced them with error output and code that can deal with the assertion case. llvm-svn: 133224
-
Johnny Chen authored
Add a test case for the SBTarget::AttachToProcessWithID() API call. o main.c: The change goes with the added test case test_with_dwarf_and_attach_to_process_with_id_api() above. o SBTarget.cpp: Checks whether we're in synchronous mode. If yes, let's wait for the process to stop right after attaching. llvm-svn: 133223
-
Johnny Chen authored
For the print_stacktrace(thread, string_buffer = False) function, if we have debug info for a frame function, let's also emit the args for the current function. o TestFrameUtils.py: Add stronger assertTrue for frame0's args. o TestPrintStackTraces.py: Launch the inferior with ["abc", "xyz"] and expect '(int)argc=3' in the stack traces, since by design the inferior is built with debug info. llvm-svn: 133204
-
- Jun 16, 2011
-
-
Greg Clayton authored
aren't getting debug info from the liblldb-core.a file in our build server builds. llvm-svn: 133193
-
Caroline Tice authored
Add 'batch_mode' to CommandInterpreter. Modify InputReaders to not write output (prompts, instructions,etc.) if the CommandInterpreter is in batch_mode. Also, finish updating InputReaders to write to the asynchronous stream, rather than using the Debugger's output file directly. llvm-svn: 133162
-
Johnny Chen authored
in order to have its process cleaned up (terminated) upon tearDown is gone for good. Let's simplify a bunch of Python API test cases. llvm-svn: 133097
-
- Jun 15, 2011
-
-
Johnny Chen authored
remove the self.runStarted attribute since the automatic shutdown of processes associated with the targets are now performed automatically. llvm-svn: 133092
-
Johnny Chen authored
bool SBDebugger::DeleteTarget(lldb::SBTarget &target); which is used in the test tearDown() phase to cleanup the debugger's target list so that it won't grow larger and larger as test cases are executed. This is also a good opportunity to get rid of the arcane requirement that test cases exercising the Python API must assign the process object to self.process so that it gets shutdown gracefully. Instead, the shutdown of the process associated with each target is now being now automatically. Also get rid of an API from SBTarget class: SBTarget::DeleteTargetFromList(lldb_private::TargetList *list); llvm-svn: 133091
-
Jim Ingham authored
like the doc's say it should. Make sure we have a condition before we set up a test whether we have one, so we only present a "could not parse condition" error if we actually have a condition. llvm-svn: 133088
-
Jim Ingham authored
llvm-svn: 133084
-
Caroline Tice authored
Replace direct uses of the Debugger's output stream with uses of the asynchronous stream. llvm-svn: 133076
-
Caroline Tice authored
Add an introduction to the scripting example web page. llvm-svn: 133061
-
Johnny Chen authored
llvm-svn: 133020
-
- Jun 14, 2011
-
-
Johnny Chen authored
This patch is a starting point for the attach functionality. Signed-off-by:
Johnny Chen <johnny.chen@apple.com> llvm-svn: 133006
-
Caroline Tice authored
Add error message; clean up comment. llvm-svn: 132997
-
Peter Collingbourne authored
llvm-svn: 132972
-
Peter Collingbourne authored
llvm-svn: 132971
-
Peter Collingbourne authored
llvm-svn: 132970
-
Peter Collingbourne authored
llvm-svn: 132969
-
Peter Collingbourne authored
Previously the IsValid pattern matched only function signatures of the form: def IsValid(*args): ... However under SWIG 1.3.40 on Linux the signature reads: def IsValid(self): ... The new pattern matches both signature types by matching only up to the left paren. llvm-svn: 132968
-
Peter Collingbourne authored
Fixes the Linux build. llvm-svn: 132967
-