1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

577 commits

Author SHA1 Message Date
Marc Khouzam
b7310ff5db Bug 239050
Broke compilation because I forgot to implement the new methods added to IProcesses.
2008-07-25 16:03:54 +00:00
Marc Khouzam
d2c9d972ef Bug 239050
can* and is*Supported methods to know when operations can be performed.
2008-07-25 14:40:02 +00:00
Anton Leherbauer
4c747c78ad Bug 241133: [source lookup] Optimize source lookup. 2008-07-25 07:43:38 +00:00
Marc Khouzam
bbe916cd1a Strings must be compared using equals() and not == 2008-07-24 19:52:42 +00:00
Marc Khouzam
2640f48aba Bug 241985
removes the abstract from the methods, and adds ICommandControl, ISignals and ISymbols.  It also uses alphabetical order to make it easier to know if something is forgotten.
2008-07-24 16:19:28 +00:00
Marc Khouzam
16f4e3cc61 Bug 239050
Added methods to check if an attach or detach button should be grayed-out
2008-07-24 13:52:48 +00:00
Marc Khouzam
5272715f6d Bug 239028
In my conversion of ContainerVMNode I forgot to add the check to make sure the inferior was still running.  This check is now in GDBProcesses
2008-07-23 19:33:21 +00:00
Marc Khouzam
a0ce9be8f4 Bug 239028
This change to MIRunControlEventProcessor does the same thing as before, but it avoids me having to deprecate an old method and create a new one.
2008-07-23 19:13:58 +00:00
Marc Khouzam
c1f6612245 Bug 239028
This change adds support for multli-process debugging although we are still using the single-process GDB.
With this fix, our debug session will now be in a multi-process situation, with only one process being debugged.  At this point, there should be no visible changes in the debugging experience.
2008-07-23 17:49:01 +00:00
Francois Chouinard
593106d158 Patch for non-stop multi-threading 2008-07-22 19:19:48 +00:00
Randy Rohrbach
22e14ab218 Bugzilla 241418. 2008-07-18 18:09:52 +00:00
Randy Rohrbach
ca0b52a232 Bugzilla 241420 2008-07-18 17:55:56 +00:00
Marc Khouzam
2a48c0efbd Bug 240525
Updates CLIAttach and MIThreadSelect.
I didn't update the usage of MIThreadSelect because it required more cleanup than I cared to do at this point.
2008-07-18 15:09:06 +00:00
Marc Khouzam
cd35d1037b bug 239050
Added  @Deprecated to a type that was moved out to its own file
2008-07-18 14:22:07 +00:00
Marc Khouzam
8b3a47453a Removed a FIXME 2008-07-18 12:48:22 +00:00
Marc Khouzam
65b52f3a07 Bug 239050
Make the FinalLaunchSequence use the IProcesses.getRunningProcesses() call instead of doing the work itself.
2008-07-18 01:13:59 +00:00
Pawel Piech
ba02695848 [239050] - Added DMContextsTest.java to the org.eclipse.dd.tests.dsf plugin. 2008-07-16 21:16:38 +00:00
Marc Khouzam
255b92bfbd Bug 240556
If no frame context is provided in an expression, but an execution (thread) is present, then we define the expression to belong to the top-most frame of that thread.
2008-07-16 19:46:15 +00:00
Marc Khouzam
963ba7e067 Bug 239050
Makes getAncestorOfType() return the closest ancestor in terms of
depth.  Also adds a new method, getAllAncestorsOfType(), which returns all
the ancestors of the specified type in an array.
2008-07-16 19:08:05 +00:00
Pawel Piech
0006e4ba15 [241024] - [view model] Most views stop refereshing after a breakpoint hit after a long operation (e.g. sleep) 2008-07-16 18:34:24 +00:00
Anton Leherbauer
bc15b2355b 239778: [view model][debug view] Double click listener can be added twice for the same VM provider 2008-07-16 13:02:29 +00:00
Anton Leherbauer
bb3e8a0067 Follow-up fix for 214386 to avoid RejectedExecutionException during AbstractDebugVMAdapter.dispose() 2008-07-16 11:45:13 +00:00
Anton Leherbauer
337235a75e 214386: [run control][debug view][source lookup] When stepping fast (holding down F5 key) the IP in editor does not keep up. 2008-07-16 11:02:58 +00:00
Marc Khouzam
e5930da951 Bug 240947
Missing done() calls in view model
2008-07-16 00:20:46 +00:00
Pawel Piech
9ac7056923 [240997] - Added comment explaining the need for workaround. 2008-07-15 22:12:06 +00:00
Pawel Piech
4c5d157262 [240997] - Fix attempt #3. 2008-07-15 21:53:15 +00:00
Pawel Piech
f028f5530c [240997] - Fix attempt #2. 2008-07-15 21:31:55 +00:00
Pawel Piech
3b46fc2692 [240997] - [stack] Compile error in MIStack.java. 2008-07-15 21:03:02 +00:00
Marc Khouzam
9af6a7b237 Bug 239050
Use the generic IDMContext instead of IContainerDMContext because some debuggers may not have a run control service
Replace IThreadDMData.getDebuggingContext() with method getDebuggingContext()
2008-07-15 15:21:24 +00:00
Marc Khouzam
169508e98e Bug 240525
This patch cleans up MITargetAttach/Detach to use the context properly.  Since these classes are new, we don't need to worry about an API change.

A new class IMIProcessDMContext is introduced to be able to access the pid.
2008-07-14 19:59:45 +00:00
Marc Khouzam
ec6e6b4dc8 Bug 240525
New MI context to represent thread-groups
2008-07-14 19:47:08 +00:00
Marc Khouzam
64bc7a8841 Bug 240525
Stricter type checking.
2008-07-14 19:26:37 +00:00
Marc Khouzam
6062f7a939 Bug 240525
clean up MIListThreadGroups to use the context properly.  Since
this class is new, we don't need to worry about an API change.
2008-07-14 19:23:29 +00:00
Marc Khouzam
baa0551cab Re-order param to be consistent with other constructor 2008-07-14 15:20:06 +00:00
Marc Khouzam
432390d270 Bug 240507
This previous change was a mistake.  I added the ability to build an expression with a process
as a parent, or any other ExecutionContext, but it does not make sense to have
an expression refer to a processor or a core.  I may make sense to have an
expression refer to a process and not a thread, but currently, the Expression
Service does not handle this properly even at the thread level (vs frame
level).

Therefore, I'm removing this patch and will open a new bug about the Expression
Service.
2008-07-12 02:36:12 +00:00
Marc Khouzam
635936b6ea Bug 240507
minor changes to the Expression Service to support multi-process.  These changes should have been done from the start and are backwards compatible.
2008-07-11 18:27:51 +00:00
Marc Khouzam
2100733244 Bug 240380
Add the missing DsfServicesTracker.dispose() calls
2008-07-11 13:32:13 +00:00
Marc Khouzam
e4eedcb9a4 Bug 225992
MIssing return
2008-07-10 13:18:26 +00:00
Marc Khouzam
8a2aca5fd2 Bug 225992
canStep() checks if the context is for the container, and if so, returns false.
2008-07-09 17:17:27 +00:00
Anton Leherbauer
1058d3caf2 Bug 235300 [disassembly] AssertionError when switching between multiple debug sessions with active disassembly view 2008-07-09 12:54:48 +00:00
Marc Khouzam
322474d43b Bug 240044
New MI commands are being introduced in the new version of GDB to support
multi-process debugging.
-list-thread-groups
-target-attach
-target-detach
2008-07-08 18:02:16 +00:00
Marc Khouzam
f440765624 Bug 239050
some improvements to the IProcesses interface where needed:

1- getRunningProcesses() should take an IContainerDMContext as a parameter to prepare for multi-core/multi-processor debugging.

2- attachDebuggerToProcess() should return an IContainerDMContext as part of the requestMonitor.  This is because, once a process is attached to, it will then need to have a container context to use the RunControl service.

3- getProcessesBeingDebugged() should take an IContainerDMContext as a parameter to prepare for multi-core/multi-processor debugging.  Also, it should return an array of IContainerDMContexts as part of the requestMonitor;  this is because, processes that are being debugged should have a container context to use the RunControl service.
2008-07-08 13:40:27 +00:00
Marc Khouzam
e3eb35603d Bug 239050
New interface and service to provide access to the OS's process information, manipulation methods, and debugging methods.
2008-07-03 19:05:20 +00:00
Ted Williams
dd61347700 [239153] bump versions on HEAD, 1.0 -> 1.1 2008-07-01 18:03:47 +00:00
Pawel Piech
4b7a971330 [237693] - [update policy] AutomaticUpdatePolicy.java: s/Autoamtic/Automatic 2008-06-25 18:34:01 +00:00
Marc Khouzam
18e02c69ae Bug 238445
The Register unit tests made calls to createExecutionContext outside the
executor.  This change fixes this and also one register test that didn't do what
it was meant to do.
2008-06-25 17:57:45 +00:00
Marc Khouzam
001600310c Bug 238419
Fix bug that broke the stricter compilation rules.
2008-06-25 15:22:29 +00:00
Pawel Piech
86da81e859 [160041] - Changed default number of frames to retrieve to 10. 2008-06-24 20:02:56 +00:00
Marc Khouzam
00a5eca0ef Bug 238060
To support different version of services, the ShutdownSequence should use the dsf interface name to stop services.
2008-06-24 19:23:22 +00:00
Marc Khouzam
6fc511904f Bug 237798
Added a ServiceFactory to allow for different implementation of the same services, depending on the backend .
2008-06-24 18:41:39 +00:00