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

573 commits

Author SHA1 Message Date
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
76ca6ce288 [238630] - DSF GDB standard launch configurations license text wrong 2008-06-26 23:21:16 +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
Pawel Piech
0bc7b6f932 [238108] - [viewmodel] null pointer access in VM provider classes 2008-06-24 18:13:29 +00:00
Pawel Piech
fd5c004c84 [160041] - [debug view] Retrieving limited # of stack frames. 2008-06-24 17:34:46 +00:00
Pawel Piech
f9b2f38049 [238283] - [docs] Change the TOC name for DSF documentation to "DSF Developer Guide" 2008-06-24 16:39:33 +00:00
Marc Khouzam
35ce4db366 Bug 238143
Bad use of MessageFormat.format
2008-06-23 15:35:12 +00:00
Pawel Piech
9d2509ab15 [160041] Added multi-threading to the PDA stack example. 2008-06-20 20:43:26 +00:00
Marc Khouzam
f62d14b16b Bug 237800
More cleanup
2008-06-20 16:37:07 +00:00
Marc Khouzam
4d078d0bc6 Bug 237800 2008-06-19 19:58:59 +00:00
Marc Khouzam
fe8e5b4dde Bug 237800
Give the MIStack its own cache.
2008-06-19 15:55:26 +00:00
Pawel Piech
d8d51a37b2 [160041] - Added a sample PDA program that recursively descends the stack to a set depth. 2008-06-19 05:05:32 +00:00
Pawel Piech
bf58b66316 [202649] Added to the header comment. 2008-06-17 21:00:32 +00:00
Pawel Piech
1e0365550e [202649] - [update policy][debug view] Add manual refresh mode for thread list in debug view. 2008-06-17 20:46:30 +00:00
Pawel Piech
884e607aab [236321] - Removed the trailing comma in the other AllTests suite. 2008-06-17 16:16:19 +00:00
Marc Khouzam
faf0a4dea3 Bug 237472
When setting ATTR_WORKING_DIRECTORY in the launch (which was ignored before Bug 236058), we must now use an absolute path.  The ATTR_WORKING_DIRECTORY was not actually used for the Breakpoint tests, so I removed it.
2008-06-17 14:41:04 +00:00
Marc Khouzam
8a6efaae63 Bug 237468
Update JUnit tests to use the new initialize of GdbLaunch
2008-06-17 14:12:02 +00:00
Marc Khouzam
5b5e8f55a2 Bug 237468
Separate the two parts of GdbLaunch.initializeControl to do a cleaner initialization
2008-06-17 13:58:12 +00:00
Marc Khouzam
e3c41f15c5 Bug 237464
MIInferiorProcess.InferiorStartedDMEvent should also be sent in the case where a startup breakpoint is not set.
2008-06-17 13:45:22 +00:00
Pawel Piech
a8fe7f6a27 [236765] - Additional fixes for use of command cache. 2008-06-17 03:46:41 +00:00
Pawel Piech
25500c44ab Updated copyright dates. 2008-06-17 03:04:51 +00:00
Pawel Piech
232e000b0f [236321] - org.eclipse.dd.tests.gdb/src/org/eclipse/dd/mi/service/command/commands/AllTests.java:29: illegal start of expression 2008-06-16 21:42:56 +00:00
Pawel Piech
cf6a213b68 [237351] - [resgisters][tests] Registers service unit tests all fail. 2008-06-16 20:24:31 +00:00
Pawel Piech
cda9077453 [237325] - Additional fixes for CommandCache.isTargetAvailable() bug. 2008-06-16 20:20:24 +00:00
Pawel Piech
ee9c51a046 [236765] - [pda] Add multi-threading capability to PDA 2008-06-16 18:30:54 +00:00
Pawel Piech
e90dbc258a [237235] - [commands] CommandCache.isTargetAvailable/setContextAvailable don't work correctly with non-stop multithreading. 2008-06-16 18:27:01 +00:00
Pawel Piech
8d3e2ae792 [236461] - Fixed a java patch bug to enable PDA on windows. 2008-06-13 21:23:42 +00:00
Pawel Piech
e775c4839a [236843] - [variables] Hanging variables view (2) 2008-06-13 15:31:30 +00:00
Marc Khouzam
17b9861f5a Bug 236651
Poor pattern matching didn't allow output of "info thread" to be used.
2008-06-11 18:12:28 +00:00
Pawel Piech
a69b4955f0 [236461] - [pda] Port PDA Virtual Machine implementation to Java 2008-06-10 16:33:27 +00:00