[Lldb-commits] [lldb] r187270 - Document show args - settings show target.run-args

2013-07-26 Thread Jim Ingham
Author: jingham Date: Fri Jul 26 18:20:05 2013 New Revision: 187270 URL: http://llvm.org/viewvc/llvm-project?rev=187270view=rev Log: Document show args - settings show target.run-args Modified: lldb/trunk/www/lldb-gdb.html Modified: lldb/trunk/www/lldb-gdb.html URL:

[Lldb-commits] [lldb] r190023 - Remove spurious reference to radars in code (we try not to put Radar numbers into the sources.)

2013-09-04 Thread Jim Ingham
Author: jingham Date: Wed Sep 4 20:48:56 2013 New Revision: 190023 URL: http://llvm.org/viewvc/llvm-project?rev=190023view=rev Log: Remove spurious reference to radars in code (we try not to put Radar numbers into the sources.) Modified: lldb/trunk/source/Core/Debugger.cpp Modified:

[Lldb-commits] [lldb] r190025 - Remove some unused #includes.

2013-09-04 Thread Jim Ingham
Author: jingham Date: Wed Sep 4 20:51:15 2013 New Revision: 190025 URL: http://llvm.org/viewvc/llvm-project?rev=190025view=rev Log: Remove some unused #includes. Modified: lldb/trunk/source/Expression/DWARFExpression.cpp Modified: lldb/trunk/source/Expression/DWARFExpression.cpp URL:

[Lldb-commits] [lldb] r190026 - Remove an unused ivar.

2013-09-04 Thread Jim Ingham
Author: jingham Date: Wed Sep 4 20:51:57 2013 New Revision: 190026 URL: http://llvm.org/viewvc/llvm-project?rev=190026view=rev Log: Remove an unused ivar. Modified: lldb/trunk/include/lldb/Expression/ClangFunction.h lldb/trunk/source/Expression/ClangFunction.cpp Modified:

[Lldb-commits] [lldb] r190085 - Remove commented out routines.

2013-09-05 Thread Jim Ingham
Author: jingham Date: Thu Sep 5 14:01:20 2013 New Revision: 190085 URL: http://llvm.org/viewvc/llvm-project?rev=190085view=rev Log: Remove commented out routines. Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp Modified:

[Lldb-commits] [lldb] r190084 - Include file cleanup.

2013-09-05 Thread Jim Ingham
Author: jingham Date: Thu Sep 5 13:57:48 2013 New Revision: 190084 URL: http://llvm.org/viewvc/llvm-project?rev=190084view=rev Log: Include file cleanup. Modified: lldb/trunk/source/Core/Address.cpp Modified: lldb/trunk/source/Core/Address.cpp URL:

[Lldb-commits] [lldb] r190172 - r189295 inadvertently set the codesigning identity for the debugserver Debug configuration

2013-09-06 Thread Jim Ingham
Author: jingham Date: Fri Sep 6 11:54:45 2013 New Revision: 190172 URL: http://llvm.org/viewvc/llvm-project?rev=190172view=rev Log: r189295 inadvertently set the codesigning identity for the debugserver Debug configuration to , which causes debugging to fail for that configuration. Setting it

[Lldb-commits] [lldb] r190380 - Change the breakpoint fuzz algorithm from coalesce the line ranges for a file line breakpoint if they are contiguous to

2013-09-09 Thread Jim Ingham
Author: jingham Date: Mon Sep 9 21:06:17 2013 New Revision: 190380 URL: http://llvm.org/viewvc/llvm-project?rev=190380view=rev Log: Change the breakpoint fuzz algorithm from coalesce the line ranges for a file line breakpoint if they are contiguous to coalesce the line ranges for a file line

[Lldb-commits] [lldb] r190381 - Changing the default shell to /bin/sh brought up a long-standing bug on OS X,

2013-09-09 Thread Jim Ingham
Author: jingham Date: Mon Sep 9 21:09:47 2013 New Revision: 190381 URL: http://llvm.org/viewvc/llvm-project?rev=190381view=rev Log: Changing the default shell to /bin/sh brought up a long-standing bug on OS X, that /bin/sh re-exec's itself to /bin/bash, so it needs one more resume when you are

[Lldb-commits] [lldb] r190538 - Turns out the number of times you need to resume the process for /bin/sh depends on the

2013-09-11 Thread Jim Ingham
Author: jingham Date: Wed Sep 11 13:23:22 2013 New Revision: 190538 URL: http://llvm.org/viewvc/llvm-project?rev=190538view=rev Log: Turns out the number of times you need to resume the process for /bin/sh depends on the setting of the environment variable COMMAND_MODE. Changed the

[Lldb-commits] [lldb] r190734 - This changes how the --source driver argument works. I split this into four arguments:

2013-09-13 Thread Jim Ingham
Author: jingham Date: Fri Sep 13 19:20:24 2013 New Revision: 190734 URL: http://llvm.org/viewvc/llvm-project?rev=190734view=rev Log: This changes how the --source driver argument works. I split this into four arguments: -S : Specifies a command file which will get sourced after the ~/.lldbinit

[Lldb-commits] [lldb] r191478 - Factor the code that was eliminating redundant breakpoint locations and moving

2013-09-26 Thread Jim Ingham
Author: jingham Date: Thu Sep 26 20:16:58 2013 New Revision: 191478 URL: http://llvm.org/viewvc/llvm-project?rev=191478view=rev Log: Factor the code that was eliminating redundant breakpoint locations and moving line breakpoints past the prologue of functions so it can be shared between the file

[Lldb-commits] [lldb] r191556 - Convert ClangASTType::GetTypeName over to return a ConstString to be consistent with

2013-09-27 Thread Jim Ingham
Author: jingham Date: Fri Sep 27 15:59:37 2013 New Revision: 191556 URL: http://llvm.org/viewvc/llvm-project?rev=191556view=rev Log: Convert ClangASTType::GetTypeName over to return a ConstString to be consistent with the other Get*TypeName functions. Modified:

[Lldb-commits] [lldb] r192518 - Report the summed hit count in the breakpoint line.

2013-10-11 Thread Jim Ingham
Author: jingham Date: Fri Oct 11 19:40:02 2013 New Revision: 192518 URL: http://llvm.org/viewvc/llvm-project?rev=192518view=rev Log: Report the summed hit count in the breakpoint line. rdar://problem/15183226 Modified: lldb/trunk/source/Breakpoint/Breakpoint.cpp Modified:

[Lldb-commits] [lldb] r192987 - Make sure the CallFunction Thread plans don't try to do DoTakedown if their thread

2013-10-18 Thread Jim Ingham
Author: jingham Date: Fri Oct 18 12:11:02 2013 New Revision: 192987 URL: http://llvm.org/viewvc/llvm-project?rev=192987view=rev Log: Make sure the CallFunction Thread plans don't try to do DoTakedown if their thread has gone away by the time they get around to doing it. rdar://problem/15245544

[Lldb-commits] [lldb] r196197 - Remove the bad assumption that breakpoint locations won't get deleted in BreakpointLocationList::FindByID.

2013-12-02 Thread Jim Ingham
Author: jingham Date: Mon Dec 2 20:31:17 2013 New Revision: 196197 URL: http://llvm.org/viewvc/llvm-project?rev=196197view=rev Log: Remove the bad assumption that breakpoint locations won't get deleted in BreakpointLocationList::FindByID. rdar://problem/15566148 Modified:

[Lldb-commits] [lldb] r196616 - Do a little more prevention against SBValues getting used after the world has been torn down around them.

2013-12-06 Thread Jim Ingham
Author: jingham Date: Fri Dec 6 16:21:04 2013 New Revision: 196616 URL: http://llvm.org/viewvc/llvm-project?rev=196616view=rev Log: Do a little more prevention against SBValues getting used after the world has been torn down around them. Modified: lldb/trunk/source/API/SBValue.cpp

[Lldb-commits] [lldb] r196631 - If the StepThrough plan makes it back to the frame in which it started, it should say

2013-12-06 Thread Jim Ingham
Author: jingham Date: Fri Dec 6 19:17:30 2013 New Revision: 196631 URL: http://llvm.org/viewvc/llvm-project?rev=196631view=rev Log: If the StepThrough plan makes it back to the frame in which it started, it should say it succeeded, since the plan that was using it can figure out what to do from

[Lldb-commits] [lldb] r198881 - Document unsetting environment variables in the lldb/gdb cheat sheet.

2014-01-09 Thread Jim Ingham
Author: jingham Date: Thu Jan 9 13:30:11 2014 New Revision: 198881 URL: http://llvm.org/viewvc/llvm-project?rev=198881view=rev Log: Document unsetting environment variables in the lldb/gdb cheat sheet. Modified: lldb/trunk/www/lldb-gdb.html Modified: lldb/trunk/www/lldb-gdb.html URL:

[Lldb-commits] [lldb] r198990 - Sometimes the trampoline refers directly to the indirect symbol. Handle that too.

2014-01-10 Thread Jim Ingham
Author: jingham Date: Fri Jan 10 19:21:50 2014 New Revision: 198990 URL: http://llvm.org/viewvc/llvm-project?rev=198990view=rev Log: Sometimes the trampoline refers directly to the indirect symbol. Handle that too. Modified:

[Lldb-commits] [lldb] r199134 - This is a macosx specific test case for stepping setting breakpoints on indirect

2014-01-13 Thread Jim Ingham
Author: jingham Date: Mon Jan 13 14:44:26 2014 New Revision: 199134 URL: http://llvm.org/viewvc/llvm-project?rev=199134view=rev Log: This is a macosx specific test case for stepping setting breakpoints on indirect and re-exported symbols. I don't know if Linux has the latter, if it does, we

[Lldb-commits] [lldb] r199243 - Remove a compilation warning in the test case main.c file.

2014-01-14 Thread Jim Ingham
Author: jingham Date: Tue Jan 14 12:46:15 2014 New Revision: 199243 URL: http://llvm.org/viewvc/llvm-project?rev=199243view=rev Log: Remove a compilation warning in the test case main.c file. Modified: lldb/trunk/test/macosx/indirect_symbol/main.c Modified:

[Lldb-commits] [lldb] r199289 - Add a little more logging to the StopInfoBreakpoint::PerformAction.

2014-01-14 Thread Jim Ingham
Author: jingham Date: Tue Jan 14 21:30:04 2014 New Revision: 199289 URL: http://llvm.org/viewvc/llvm-project?rev=199289view=rev Log: Add a little more logging to the StopInfoBreakpoint::PerformAction. Modified: lldb/trunk/source/Target/StopInfo.cpp Modified:

[Lldb-commits] [lldb] r199290 - Fix a bug where if we stop but nobody says there was a reason for the stop, we would return

2014-01-14 Thread Jim Ingham
Author: jingham Date: Tue Jan 14 21:32:42 2014 New Revision: 199290 URL: http://llvm.org/viewvc/llvm-project?rev=199290view=rev Log: Fix a bug where if we stop but nobody says there was a reason for the stop, we would return control to the user anyway. This was put in to handle monitors that

[Lldb-commits] [lldb] r199509 - The default timeout for EvaluateExpressionOptions is not 0, so if no timeout is provided, we have to set the option timeout to 0 by hand.

2014-01-17 Thread Jim Ingham
Author: jingham Date: Fri Jan 17 14:09:23 2014 New Revision: 199509 URL: http://llvm.org/viewvc/llvm-project?rev=199509view=rev Log: The default timeout for EvaluateExpressionOptions is not 0, so if no timeout is provided, we have to set the option timeout to 0 by hand. rdar://problem/15846781

[Lldb-commits] [lldb] r200878 - Fix the --source-quietly option to the driver so that it actually works. Clean up the help

2014-02-05 Thread Jim Ingham
Author: jingham Date: Wed Feb 5 15:35:09 2014 New Revision: 200878 URL: http://llvm.org/viewvc/llvm-project?rev=200878view=rev Log: Fix the --source-quietly option to the driver so that it actually works. Clean up the help output a bit. Modified: lldb/trunk/tools/driver/Driver.cpp

[Lldb-commits] [lldb] r202189 - Switch debugserver to detach on error by default, and change the flag to kill-on-error.

2014-02-25 Thread Jim Ingham
Author: jingham Date: Tue Feb 25 13:57:47 2014 New Revision: 202189 URL: http://llvm.org/viewvc/llvm-project?rev=202189view=rev Log: Switch debugserver to detach on error by default, and change the flag to kill-on-error. Also fix the bug where lldb prints: Got a connection and launched

[Lldb-commits] [lldb] r202426 - Check call to fgetc for EINTR.

2014-02-27 Thread Jim Ingham
Author: jingham Date: Thu Feb 27 13:48:13 2014 New Revision: 202426 URL: http://llvm.org/viewvc/llvm-project?rev=202426view=rev Log: Check call to fgetc for EINTR. rdar://problem/16140277 Modified: lldb/trunk/source/Host/common/Editline.cpp Modified:

[Lldb-commits] [lldb] r202464 - Plumb the EvaluateExpressionOptions::{Set, Get}StopOthers through the SB API, and make it work in RunThreadPlan.

2014-02-27 Thread Jim Ingham
Author: jingham Date: Thu Feb 27 20:52:06 2014 New Revision: 202464 URL: http://llvm.org/viewvc/llvm-project?rev=202464view=rev Log: Plumb the EvaluateExpressionOptions::{Set,Get}StopOthers through the SB API, and make it work in RunThreadPlan. Also remove SetStopOthers from the

[Lldb-commits] [lldb] r202561 - Make sure the exe_ctx passed to ClangUserExpression::Execute has a valid thread.

2014-02-28 Thread Jim Ingham
Author: jingham Date: Fri Feb 28 18:17:06 2014 New Revision: 202561 URL: http://llvm.org/viewvc/llvm-project?rev=202561view=rev Log: Make sure the exe_ctx passed to ClangUserExpression::Execute has a valid thread. rdar://problem/15949113 Modified:

[Lldb-commits] [lldb] r202740 - Only require thread scope when we're about to run the function on a thread.

2014-03-03 Thread Jim Ingham
Author: jingham Date: Mon Mar 3 13:16:45 2014 New Revision: 202740 URL: http://llvm.org/viewvc/llvm-project?rev=202740view=rev Log: Only require thread scope when we're about to run the function on a thread. Modified: lldb/trunk/source/Expression/ClangUserExpression.cpp Modified:

[Lldb-commits] [lldb] r202782 - Fix a couple of typo's in breakpoint descriptions.

2014-03-03 Thread Jim Ingham
Author: jingham Date: Mon Mar 3 21:09:00 2014 New Revision: 202782 URL: http://llvm.org/viewvc/llvm-project?rev=202782view=rev Log: Fix a couple of typo's in breakpoint descriptions. Modified: lldb/trunk/source/Breakpoint/Breakpoint.cpp

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-05 Thread Jim Ingham
This part of the patch worries me. If I am debugging a process that doesn’t have this JIT loader symbol, this bit means every time that the process stops for any reason you will search the whole world for some symbol that won’t be found. That’s something we really avoid doing if we can,

[Lldb-commits] [lldb] r203068 - Temporarily disable the JIT loading detector till we figure out why it crashes when lldb follows through exec's...

2014-03-05 Thread Jim Ingham
Author: jingham Date: Wed Mar 5 21:47:34 2014 New Revision: 203068 URL: http://llvm.org/viewvc/llvm-project?rev=203068view=rev Log: Temporarily disable the JIT loading detector till we figure out why it crashes when lldb follows through exec's... Modified:

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-05 Thread Jim Ingham
to the executable we are actually trying to debug. If I don’t do that but just run the program directly, then I don’t get this crash. I temporarily disabled the calling of the GetJITLoader().Did{Attach,Launch} till we fix the crash. Jim On Mar 5, 2014, at 7:28 PM, Jim Ingham jing...@apple.com wrote

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-05 Thread Jim Ingham
, 2014, at 7:28 PM, Jim Ingham jing...@apple.com wrote: This part of the patch worries me. If I am debugging a process that doesn’t have this JIT loader symbol, this bit means every time that the process stops for any reason you will search the whole world for some symbol that won’t be found

[Lldb-commits] [lldb] r203231 - The ThreadPlanCallFunction needs to pass its StopOthers to its run to address subplan.

2014-03-07 Thread Jim Ingham
Author: jingham Date: Fri Mar 7 05:16:37 2014 New Revision: 203231 URL: http://llvm.org/viewvc/llvm-project?rev=203231view=rev Log: The ThreadPlanCallFunction needs to pass its StopOthers to its run to address subplan. Modified: lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h

[Lldb-commits] [lldb] r203591 - After doing all the work to compute the target ValueObject we want to evaluate, make sure

2014-03-11 Thread Jim Ingham
Author: jingham Date: Tue Mar 11 13:17:23 2014 New Revision: 203591 URL: http://llvm.org/viewvc/llvm-project?rev=203591view=rev Log: After doing all the work to compute the target ValueObject we want to evaluate, make sure we actually got something before proceeding. rdar://problem/16282875

[Lldb-commits] [lldb] r204087 - Get ThreadPlanShouldStopHere to handle auto-stepping through line number 0 code.

2014-03-17 Thread Jim Ingham
Author: jingham Date: Mon Mar 17 18:03:34 2014 New Revision: 204087 URL: http://llvm.org/viewvc/llvm-project?rev=204087view=rev Log: Get ThreadPlanShouldStopHere to handle auto-stepping through line number 0 code. Modified: lldb/trunk/source/Target/ThreadPlanShouldStopHere.cpp Modified:

[Lldb-commits] [lldb] r204206 - Expected failure printing std::string::c_str() due to flubbing the typedef lookup.

2014-03-18 Thread Jim Ingham
Author: jingham Date: Tue Mar 18 19:30:31 2014 New Revision: 204206 URL: http://llvm.org/viewvc/llvm-project?rev=204206view=rev Log: Expected failure printing std::string::c_str() due to flubbing the typedef lookup. Modified:

[Lldb-commits] [lldb] r204208 - Don't use the Disassembly test to report the fact that we don't decorate up

2014-03-18 Thread Jim Ingham
Author: jingham Date: Tue Mar 18 20:41:19 2014 New Revision: 204208 URL: http://llvm.org/viewvc/llvm-project?rev=204208view=rev Log: Don't use the Disassembly test to report the fact that we don't decorate up constructors with their class name, that seems inessential. We can make another test

[Lldb-commits] [lldb] r204209 - Add a test to check the C's constructor's name is C::C, which will fail everywhere now,

2014-03-18 Thread Jim Ingham
Author: jingham Date: Tue Mar 18 20:54:41 2014 New Revision: 204209 URL: http://llvm.org/viewvc/llvm-project?rev=204209view=rev Log: Add a test to check the C's constructor's name is C::C, which will fail everywhere now, so mark as expected fail. And find another way to check that we hit our

[Lldb-commits] [lldb] r204281 - Remove unnecessary dependence on vecLib.

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 18:25:11 2014 New Revision: 204281 URL: http://llvm.org/viewvc/llvm-project?rev=204281view=rev Log: Remove unnecessary dependence on vecLib. Modified: lldb/trunk/test/functionalities/data-formatter/rdar-10642615/Makefile

[Lldb-commits] [lldb] r204282 - Remember to run ranlib after ar to make useful archive files.

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 18:38:22 2014 New Revision: 204282 URL: http://llvm.org/viewvc/llvm-project?rev=204282view=rev Log: Remember to run ranlib after ar to make useful archive files. Modified: lldb/trunk/test/functionalities/fat_archives/Makefile Modified:

[Lldb-commits] [lldb] r204283 - These logging tests depend on the exact output of lldb logging, which is brittle

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 18:50:48 2014 New Revision: 204283 URL: http://llvm.org/viewvc/llvm-project?rev=204283view=rev Log: These logging tests depend on the exact output of lldb logging, which is brittle and not particularly useful. Skipping till we get a chance to make a test that

[Lldb-commits] [lldb] r204284 - I changed the logging test to just test that logging doesn't crash and does produce output. That's

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 18:55:54 2014 New Revision: 204284 URL: http://llvm.org/viewvc/llvm-project?rev=204284view=rev Log: I changed the logging test to just test that logging doesn't crash and does produce output. That's about all it is useful to test. Modified:

[Lldb-commits] [lldb] r204287 - expectedFailureDarwin for this test case.

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 19:19:16 2014 New Revision: 204287 URL: http://llvm.org/viewvc/llvm-project?rev=204287view=rev Log: expectedFailureDarwin for this test case. Modified: lldb/trunk/test/expression_command/po_verbosity/TestPoVerbosity.py Modified:

[Lldb-commits] [lldb] r204288 - More recent compilers emit debug info for the length property of NSString, so the length will be correctly

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 20:08:27 2014 New Revision: 204288 URL: http://llvm.org/viewvc/llvm-project?rev=204288view=rev Log: More recent compilers emit debug info for the length property of NSString, so the length will be correctly reported as NSUInteger. Adopt the test case to handle

[Lldb-commits] [lldb] r204295 - Adapt test to avoid short string types.

2014-03-19 Thread Jim Ingham
Author: jingham Date: Wed Mar 19 21:21:17 2014 New Revision: 204295 URL: http://llvm.org/viewvc/llvm-project?rev=204295view=rev Log: Adapt test to avoid short string types. Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py Modified:

[Lldb-commits] [lldb] r204359 - Guard against reading from host address of 0 in getting the data from a Value.

2014-03-20 Thread Jim Ingham
Author: jingham Date: Thu Mar 20 12:13:28 2014 New Revision: 204359 URL: http://llvm.org/viewvc/llvm-project?rev=204359view=rev Log: Guard against reading from host address of 0 in getting the data from a Value. Modified: lldb/trunk/source/Core/Value.cpp Modified:

[Lldb-commits] [lldb] r205381 - Test case for the previous commit.

2014-04-01 Thread Jim Ingham
Author: jingham Date: Tue Apr 1 20:05:27 2014 New Revision: 205381 URL: http://llvm.org/viewvc/llvm-project?rev=205381view=rev Log: Test case for the previous commit. Added: lldb/trunk/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py Added:

[Lldb-commits] [lldb] r205380 - Add the ability to set python breakpoint commands from the SBBreakpoint SBBreakpointLocation API's.

2014-04-01 Thread Jim Ingham
Author: jingham Date: Tue Apr 1 20:04:55 2014 New Revision: 205380 URL: http://llvm.org/viewvc/llvm-project?rev=205380view=rev Log: Add the ability to set python breakpoint commands from the SBBreakpoint SBBreakpointLocation API's. You can either provide the function name, or function body

[Lldb-commits] [lldb] r205480 - Workaround for collision between enum members in LLVM's MachO.h and system headers

2014-04-02 Thread Jim Ingham
Author: jingham Date: Wed Apr 2 17:53:21 2014 New Revision: 205480 URL: http://llvm.org/viewvc/llvm-project?rev=205480view=rev Log: Workaround for collision between enum members in LLVM's MachO.h and system headers on Mac OS X (in particular mach/machine.h). rdar://problem/16494607 Added:

[Lldb-commits] [lldb] r205494 - I removed SetCallback from the Python API's since it wasn't actually useful, and added SetScriptCallbackFunction,

2014-04-02 Thread Jim Ingham
Author: jingham Date: Wed Apr 2 19:50:56 2014 New Revision: 205494 URL: http://llvm.org/viewvc/llvm-project?rev=205494view=rev Log: I removed SetCallback from the Python API's since it wasn't actually useful, and added SetScriptCallbackFunction, and SetScriptCallbackBody. So add these to the

[Lldb-commits] [lldb] r205496 - Print the new eStopReasonExec in stop_reason_to_str.

2014-04-02 Thread Jim Ingham
Author: jingham Date: Wed Apr 2 20:25:28 2014 New Revision: 205496 URL: http://llvm.org/viewvc/llvm-project?rev=205496view=rev Log: Print the new eStopReasonExec in stop_reason_to_str. Modified: lldb/trunk/test/lldbutil.py Modified: lldb/trunk/test/lldbutil.py URL:

[Lldb-commits] [lldb] r205497 - Make the fail messages

2014-04-02 Thread Jim Ingham
Author: jingham Date: Wed Apr 2 20:26:14 2014 New Revision: 205497 URL: http://llvm.org/viewvc/llvm-project?rev=205497view=rev Log: Make the fail messages Modified: lldb/trunk/include/lldb/Target/Thread.h lldb/trunk/source/API/SBThread.cpp

[Lldb-commits] [lldb] r205544 - Get dis -c -s working again.

2014-04-03 Thread Jim Ingham
Author: jingham Date: Thu Apr 3 12:16:17 2014 New Revision: 205544 URL: http://llvm.org/viewvc/llvm-project?rev=205544view=rev Log: Get dis -c -s working again. pr19324 Modified: lldb/trunk/source/Commands/CommandObjectDisassemble.cpp Modified:

[Lldb-commits] [lldb] r205636 - Remember to clear the cached data for the OptionValueFileSpec in SetValueFromCString.

2014-04-04 Thread Jim Ingham
Author: jingham Date: Fri Apr 4 13:06:54 2014 New Revision: 205636 URL: http://llvm.org/viewvc/llvm-project?rev=205636view=rev Log: Remember to clear the cached data for the OptionValueFileSpec in SetValueFromCString. rdar://problem/16179718 target.expr-prefix contents appear to be cached for

[Lldb-commits] [lldb] r205790 - This function should be const.

2014-04-08 Thread Jim Ingham
Author: jingham Date: Tue Apr 8 15:24:45 2014 New Revision: 205790 URL: http://llvm.org/viewvc/llvm-project?rev=205790view=rev Log: This function should be const. Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h lldb/trunk/source/Breakpoint/BreakpointOptions.cpp

[Lldb-commits] [lldb] r205803 - Fix the behavior when hand-calling a function times out on one thread,

2014-04-08 Thread Jim Ingham
Author: jingham Date: Tue Apr 8 16:33:21 2014 New Revision: 205803 URL: http://llvm.org/viewvc/llvm-project?rev=205803view=rev Log: Fix the behavior when hand-calling a function times out on one thread, but by the time we go to halt, it has already stopped by hitting the function end

[Lldb-commits] [lldb] r206350 - m_interrupt_sent wasn't being initialized, and wasn't being reset after an

2014-04-15 Thread Jim Ingham
Author: jingham Date: Tue Apr 15 21:24:17 2014 New Revision: 206350 URL: http://llvm.org/viewvc/llvm-project?rev=206350view=rev Log: m_interrupt_sent wasn't being initialized, and wasn't being reset after an interrupt. Do both of those. Modified:

[Lldb-commits] [lldb] r206351 - Clean up the logic in setting timeouts a bit, and the logging as well.

2014-04-15 Thread Jim Ingham
Author: jingham Date: Tue Apr 15 21:24:48 2014 New Revision: 206351 URL: http://llvm.org/viewvc/llvm-project?rev=206351view=rev Log: Clean up the logic in setting timeouts a bit, and the logging as well. Modified: lldb/trunk/source/Target/Process.cpp Modified:

[Lldb-commits] [lldb] r206835 - Make RunThreadPlan start the timeout clock for each part of the expression evaluation AFTER the

2014-04-21 Thread Jim Ingham
Author: jingham Date: Mon Apr 21 20:41:52 2014 New Revision: 206835 URL: http://llvm.org/viewvc/llvm-project?rev=206835view=rev Log: Make RunThreadPlan start the timeout clock for each part of the expression evaluation AFTER the successful resume for that part. This will make the timeouts more

[Lldb-commits] [lldb] r206836 - Give the clang functions names. This is only for logging.

2014-04-21 Thread Jim Ingham
Author: jingham Date: Mon Apr 21 20:42:22 2014 New Revision: 206836 URL: http://llvm.org/viewvc/llvm-project?rev=206836view=rev Log: Give the clang functions names. This is only for logging. Modified: lldb/trunk/include/lldb/Expression/ClangFunction.h

[Lldb-commits] [lldb] r207944 - Make the Expression Execution result enum available to the SB API layer.

2014-05-04 Thread Jim Ingham
Author: jingham Date: Sun May 4 21:26:40 2014 New Revision: 207944 URL: http://llvm.org/viewvc/llvm-project?rev=207944view=rev Log: Make the Expression Execution result enum available to the SB API layer. Add a callback that will allow an expression to be cancelled between the expression

[Lldb-commits] [lldb] r207945 - Rename eExecution*** to eExpression*** to be consistent with the result type.

2014-05-04 Thread Jim Ingham
Author: jingham Date: Sun May 4 21:47:44 2014 New Revision: 207945 URL: http://llvm.org/viewvc/llvm-project?rev=207945view=rev Log: Rename eExecution*** to eExpression*** to be consistent with the result type. Modified: lldb/trunk/include/lldb/Expression/ClangUserExpression.h

[Lldb-commits] [lldb] r209010 - Fix from: Scott Knight(knigh...@gmail.com):

2014-05-16 Thread Jim Ingham
Author: jingham Date: Fri May 16 14:46:56 2014 New Revision: 209010 URL: http://llvm.org/viewvc/llvm-project?rev=209010view=rev Log: Fix from: Scott Knight(knigh...@gmail.com): Use a map rather than a vector to store the objects managed by the shared cluster since mostly want this for random

[Lldb-commits] [lldb] r211136 - Add locking around the m_owners collection in the breakpoint site. If we are in the middle of BreakpointLocation::ShouldStop we don't

2014-06-17 Thread Jim Ingham
Author: jingham Date: Tue Jun 17 20:04:40 2014 New Revision: 211136 URL: http://llvm.org/viewvc/llvm-project?rev=211136view=rev Log: Add locking around the m_owners collection in the breakpoint site. If we are in the middle of BreakpointLocation::ShouldStop we don't want other commands (like

[Lldb-commits] [lldb] r211242 - Actually make a real scoped locker rather than constructing one that gets immediately thrown away...

2014-06-18 Thread Jim Ingham
Author: jingham Date: Wed Jun 18 18:40:13 2014 New Revision: 211242 URL: http://llvm.org/viewvc/llvm-project?rev=211242view=rev Log: Actually make a real scoped locker rather than constructing one that gets immediately thrown away... Modified:

[Lldb-commits] [lldb] r211289 - Switch over to using object_getClass to get the class of an object. Previously we were

2014-06-19 Thread Jim Ingham
Author: jingham Date: Thu Jun 19 13:25:51 2014 New Revision: 211289 URL: http://llvm.org/viewvc/llvm-project?rev=211289view=rev Log: Switch over to using object_getClass to get the class of an object. Previously we were directly accessing the isa pointer of a class object to get its meta-class,

[Lldb-commits] [lldb] r211636 - Rework fix in r201744. You really DO need to waitpid twice to get the

2014-06-24 Thread Jim Ingham
Author: jingham Date: Tue Jun 24 16:51:42 2014 New Revision: 211636 URL: http://llvm.org/viewvc/llvm-project?rev=211636view=rev Log: Rework fix in r201744. You really DO need to waitpid twice to get the process fully reaped. The race bad behavior was because we were letting the reaping thread

[Lldb-commits] [lldb] r211903 - Revert the debugserver part of r211868. While formally a fine change, debugserver

2014-06-27 Thread Jim Ingham
Author: jingham Date: Fri Jun 27 11:02:55 2014 New Revision: 211903 URL: http://llvm.org/viewvc/llvm-project?rev=211903view=rev Log: Revert the debugserver part of r211868. While formally a fine change, debugserver doesn't depend on llvm (it really doesn't even depend on anything in lldb) and

[Lldb-commits] [lldb] r212506 - If a hand-called function is interrupted by hitting a breakpoint, then

2014-07-07 Thread Jim Ingham
Author: jingham Date: Mon Jul 7 20:07:32 2014 New Revision: 212506 URL: http://llvm.org/viewvc/llvm-project?rev=212506view=rev Log: If a hand-called function is interrupted by hitting a breakpoint, then when you continue to finish off the function call, the expression result will be included as

[Lldb-commits] [lldb] r212507 - Add docs for the thread.completed-expression format entry.

2014-07-07 Thread Jim Ingham
Author: jingham Date: Mon Jul 7 20:10:49 2014 New Revision: 212507 URL: http://llvm.org/viewvc/llvm-project?rev=212507view=rev Log: Add docs for the thread.completed-expression format entry. Modified: lldb/trunk/www/formats.html Modified: lldb/trunk/www/formats.html URL:

[Lldb-commits] [lldb] r212559 - Add the ability to provide a count option to the various thread step-* operations. Only

2014-07-08 Thread Jim Ingham
Author: jingham Date: Tue Jul 8 14:28:57 2014 New Revision: 212559 URL: http://llvm.org/viewvc/llvm-project?rev=212559view=rev Log: Add the ability to provide a count option to the various thread step-* operations. Only step-inst and step-inst are currently supported, the rest just warn that

[Lldb-commits] [lldb] r213875 - We were turning off all these tests on OSX and FreeBSD because of a known (and fairly unimportant) bug.

2014-07-24 Thread Jim Ingham
Author: jingham Date: Thu Jul 24 11:56:19 2014 New Revision: 213875 URL: http://llvm.org/viewvc/llvm-project?rev=213875view=rev Log: We were turning off all these tests on OSX and FreeBSD because of a known (and fairly unimportant) bug. Keep a test for that bug, but let the useful parts of the

[Lldb-commits] [lldb] r214603 - After you attach, give the process plugin a chance to report back (through

2014-08-01 Thread Jim Ingham
Author: jingham Date: Fri Aug 1 19:33:35 2014 New Revision: 214603 URL: http://llvm.org/viewvc/llvm-project?rev=214603view=rev Log: After you attach, give the process plugin a chance to report back (through DidAttach) the architecture of the binary you attached to. rdar://problem/17891396

[Lldb-commits] [lldb] r214836 - Add some useful logging to the step log.

2014-08-04 Thread Jim Ingham
Author: jingham Date: Mon Aug 4 20:58:14 2014 New Revision: 214836 URL: http://llvm.org/viewvc/llvm-project?rev=214836view=rev Log: Add some useful logging to the step log. Modified: lldb/trunk/source/Target/StopInfo.cpp Modified: lldb/trunk/source/Target/StopInfo.cpp URL:

[Lldb-commits] [lldb] r214837 - If you found a step through plan stop looking up the stack for a step out plan.

2014-08-04 Thread Jim Ingham
Author: jingham Date: Mon Aug 4 20:59:20 2014 New Revision: 214837 URL: http://llvm.org/viewvc/llvm-project?rev=214837view=rev Log: If you found a step through plan stop looking up the stack for a step out plan. Modified: lldb/trunk/source/Target/ThreadPlanStepOverRange.cpp Modified:

[Lldb-commits] [lldb] r214941 - Probably should initialize that new ivar while I'm at it...

2014-08-05 Thread Jim Ingham
Author: jingham Date: Tue Aug 5 19:24:38 2014 New Revision: 214941 URL: http://llvm.org/viewvc/llvm-project?rev=214941view=rev Log: Probably should initialize that new ivar while I'm at it... Modified: lldb/trunk/source/Interpreter/CommandObject.cpp Modified:

[Lldb-commits] [lldb] r214946 - When stepping, handle the case where the step leaves us with

2014-08-05 Thread Jim Ingham
Author: jingham Date: Tue Aug 5 20:49:59 2014 New Revision: 214946 URL: http://llvm.org/viewvc/llvm-project?rev=214946view=rev Log: When stepping, handle the case where the step leaves us with the same parent frame, but different current frame - e.g. when you step past a tail call exit from a

[Lldb-commits] [lldb] r215411 - Fetching the parent frame may fail, handle that case. Patch from Tong Shen.

2014-08-11 Thread Jim Ingham
Author: jingham Date: Mon Aug 11 18:57:43 2014 New Revision: 215411 URL: http://llvm.org/viewvc/llvm-project?rev=215411view=rev Log: Fetching the parent frame may fail, handle that case. Patch from Tong Shen. Modified: lldb/trunk/source/Target/ThreadPlanStepRange.cpp

[Lldb-commits] [lldb] r216637 - Make it clear in the help that breakpoint command add will act on the last set

2014-08-27 Thread Jim Ingham
Author: jingham Date: Wed Aug 27 19:50:17 2014 New Revision: 216637 URL: http://llvm.org/viewvc/llvm-project?rev=216637view=rev Log: Make it clear in the help that breakpoint command add will act on the last set breakpoint if no breakpoint id is specified. rdar://problem/17885160 Modified:

[Lldb-commits] [lldb] r216747 - Allow breakpoint command add to add commands to more than one breakpoint at a time.

2014-08-29 Thread Jim Ingham
Author: jingham Date: Fri Aug 29 12:34:17 2014 New Revision: 216747 URL: http://llvm.org/viewvc/llvm-project?rev=216747view=rev Log: Allow breakpoint command add to add commands to more than one breakpoint at a time. rdar://problem/13314462 Modified:

[Lldb-commits] [lldb] r217719 - ResolveUsername should resolve ~ to the user's home directory as well as ~/. This

2014-09-12 Thread Jim Ingham
Author: jingham Date: Fri Sep 12 17:59:05 2014 New Revision: 217719 URL: http://llvm.org/viewvc/llvm-project?rev=217719view=rev Log: ResolveUsername should resolve ~ to the user's home directory as well as ~/. This gets command-line file completion from ~ working again. Modified:

[Lldb-commits] [lldb] r217722 - Don't make paths with /Foo//bar, that confuses everybody down the line.

2014-09-12 Thread Jim Ingham
Author: jingham Date: Fri Sep 12 18:39:38 2014 New Revision: 217722 URL: http://llvm.org/viewvc/llvm-project?rev=217722view=rev Log: Don't make paths with /Foo//bar, that confuses everybody down the line. This gets the file completer for absolute paths working again. Modified:

[Lldb-commits] [lldb] r218156 - We had to squirrel away the dyld module before doing ResolveExecutableModule, since

2014-09-19 Thread Jim Ingham
Author: jingham Date: Fri Sep 19 16:56:45 2014 New Revision: 218156 URL: http://llvm.org/viewvc/llvm-project?rev=218156view=rev Log: We had to squirrel away the dyld module before doing ResolveExecutableModule, since that would clear the module list, and then put it back by hand. But we forgot

[Lldb-commits] [lldb] r218157 - Fix a thinko in how the RemoteiOS Platform looked up files in the SDK other

2014-09-19 Thread Jim Ingham
Author: jingham Date: Fri Sep 19 16:58:45 2014 New Revision: 218157 URL: http://llvm.org/viewvc/llvm-project?rev=218157view=rev Log: Fix a thinko in how the RemoteiOS Platform looked up files in the SDK other platform locations. We didn't always do an exhaustive search through all the platform

Re: [Lldb-commits] [PATCH] Very minimal non-8-bit byte support for diverse kalimba architectures

2014-09-26 Thread Jim Ingham
Greg is out on vacation for a week. This looks fairly straightforward. There used to be architectures with weird byte sizes like 9 or 12 bits - gdb had some support for this. Choosing to express the number of bits per byte as a multiple of 8 makes it impossible to support this situation.

[Lldb-commits] [lldb] r218642 - This checkin is the first step in making the lldb thread stepping mechanism more accessible from

2014-09-29 Thread Jim Ingham
Author: jingham Date: Mon Sep 29 18:17:18 2014 New Revision: 218642 URL: http://llvm.org/viewvc/llvm-project?rev=218642view=rev Log: This checkin is the first step in making the lldb thread stepping mechanism more accessible from the user level. It adds the ability to invent new stepping modes

[Lldb-commits] [lldb] r218656 - Fix some errors that crept in when I cut pasted into emacs.

2014-09-29 Thread Jim Ingham
Author: jingham Date: Mon Sep 29 20:37:52 2014 New Revision: 218656 URL: http://llvm.org/viewvc/llvm-project?rev=218656view=rev Log: Fix some errors that crept in when I cut pasted into emacs. Modified: lldb/trunk/examples/python/scripted_step.py Modified:

[Lldb-commits] [lldb] r218687 - Add SBThreadPlan to this CMakeLists.txt as well.

2014-09-30 Thread Jim Ingham
Author: jingham Date: Tue Sep 30 12:11:53 2014 New Revision: 218687 URL: http://llvm.org/viewvc/llvm-project?rev=218687view=rev Log: Add SBThreadPlan to this CMakeLists.txt as well. Modified: lldb/trunk/source/CMakeLists.txt Modified: lldb/trunk/source/CMakeLists.txt URL:

[Lldb-commits] [lldb] r218699 - Not all processes have a Dynamic Loader. Be sure to check that it exists before using it.

2014-09-30 Thread Jim Ingham
Author: jingham Date: Tue Sep 30 15:33:25 2014 New Revision: 218699 URL: http://llvm.org/viewvc/llvm-project?rev=218699view=rev Log: Not all processes have a Dynamic Loader. Be sure to check that it exists before using it. rdar://problem/18491391 Modified:

[Lldb-commits] [lldb] r218837 - Add SBExecutionContext.cpp to this file as well, as the comment

2014-10-01 Thread Jim Ingham
Author: jingham Date: Wed Oct 1 17:26:52 2014 New Revision: 218837 URL: http://llvm.org/viewvc/llvm-project?rev=218837view=rev Log: Add SBExecutionContext.cpp to this file as well, as the comment in source/API/CMakeLists.txt instructs... Modified: lldb/trunk/source/CMakeLists.txt Modified:

Re: [Lldb-commits] [PATCH] Add target.jit-args settings

2014-10-06 Thread Jim Ingham
It's ugly to have to add quotes and then remove them, but until we write our own option parser I can't think of a better way to do it... Jim http://reviews.llvm.org/D5472 ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

[Lldb-commits] [lldb] r219979 - Add a test for the -b (batch mode) option to the lldb driver.

2014-10-16 Thread Jim Ingham
Author: jingham Date: Thu Oct 16 18:02:14 2014 New Revision: 219979 URL: http://llvm.org/viewvc/llvm-project?rev=219979view=rev Log: Add a test for the -b (batch mode) option to the lldb driver. Added: lldb/trunk/test/driver/ lldb/trunk/test/driver/batch_mode/

Re: [Lldb-commits] [PATCH] Add an OperatingSystem plugin to support goroutines

2014-10-20 Thread Jim Ingham
Greg should comment on way you're populating the Memory threads, etc. That was his code (used mostly by the OS X kernel folks to turn kernel thread activations into lldb threads...) At present you can only enable/disable the OS plugins when the target is created, but I haven't looked into how

[Lldb-commits] [lldb] r220358 - The breakpoint location hit counts were getting incremented in

2014-10-21 Thread Jim Ingham
Author: jingham Date: Tue Oct 21 20:54:17 2014 New Revision: 220358 URL: http://llvm.org/viewvc/llvm-project?rev=220358view=rev Log: The breakpoint location hit counts were getting incremented in BreakpointLocation::ShouldStop. That worked but wasn't really right, since there's nothing to

[Lldb-commits] [lldb] r220602 - Setting breakpoints with name mask eFunctionNameTypeBase was broken for straight C names by 220432. Get

2014-10-24 Thread Jim Ingham
Author: jingham Date: Fri Oct 24 19:33:55 2014 New Revision: 220602 URL: http://llvm.org/viewvc/llvm-project?rev=220602view=rev Log: Setting breakpoints with name mask eFunctionNameTypeBase was broken for straight C names by 220432. Get that working again. Modified:

[Lldb-commits] [lldb] r220743 - Add a test for setting and hitting the C++ Exception throw breakpoint.

2014-10-27 Thread Jim Ingham
Author: jingham Date: Mon Oct 27 19:53:20 2014 New Revision: 220743 URL: http://llvm.org/viewvc/llvm-project?rev=220743view=rev Log: Add a test for setting and hitting the C++ Exception throw breakpoint. Added: lldb/trunk/test/functionalities/breakpoint/cpp_exception/

  1   2   3   >