1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 05:25:21 +02:00
Commit graph

15505 commits

Author SHA1 Message Date
Marc Khouzam
c227d7fbf1 Bug 239050
More use of IProcesses.  In the weekly meeting, we had agreed that the RunControl service would make use of IProcesses to list executionContext.  To do this, it is the IProcesses service that will now create the MIExecutionDMC, which is newly declared in MIProcesses.  Doing this I was able to get rid of IMIRunControl, and I introduced IMIProcesses.

Also, we agreed that all RunControl use of IProcesses should be kept out of MIRunControl and put only in GDBRunControl.  This is because other backends using MI will probably need a more sophisticated Process service.  I still have to move the use of IProcesses out of MIRunControlNS

I also cleaned up the RunControl and GDBProcesses unit tests.

I also started spreading the use of a String as a ThreadId, while keeping things backwards compatible.
2008-08-02 01:15:51 +00:00
Ted Williams
1bb7c8e3b6 [242932] [memory] Import/Export icons missing 2008-08-01 21:17:38 +00:00
Alena Laskavaia
b4159f688a [242699] - jtag progress monitor, contribute by Peter Vidler 2008-08-01 18:10:24 +00:00
John Cortell
7701228f68 Fixed typo in comment 2008-08-01 17:45:20 +00:00
John Cortell
a733bd09d8 Applying my 242890 patch. Shared libraries will now be expandable in the Modules view even if they're not in a project output directory. 2008-08-01 16:07:05 +00:00
Anton Leherbauer
1d8d0320a9 Bug 242335 - Eclipse Ganymede hangs on startup 2008-08-01 10:57:21 +00:00
Markus Schorn
c4f2d97cf1 Optional support for block-comments like /% comment %/, bug 130235. 2008-08-01 09:37:20 +00:00
Markus Schorn
4790fbf198 IllegalArgumentException resizing ToolSettingsTab, bug 242524. 2008-08-01 08:07:15 +00:00
Markus Schorn
1cd6b6c8a9 Introduces a classification for scopes, bug 237026 2008-07-31 15:05:55 +00:00
Markus Schorn
8152453880 Correct modeling of template-scopes, bug 237026. 2008-07-31 13:09:50 +00:00
Marc Khouzam
133ac134ee Bug 241844
Adds the started and exited events when attaching and detaching from a process.
2008-07-31 02:47:36 +00:00
Marc Khouzam
5c1533d934 Fixed class comment 2008-07-31 01:34:01 +00:00
Marc Khouzam
8a7f805c57 Some API breaking changes slipped in during the non-stop effort. These changes were not needed so I have reverted them. Mostly it is about protected classes becoming package-private. 2008-07-31 01:21:10 +00:00
Marc Khouzam
c928924a21 Bug 229288
when using GDB6.6, if the solib-search-path is used, the launch will fail because the -gdb-set sysroot command will fail.  The concept of sysroot seems to have been introduced with GDB 6.7

Let's comment it out since it was used only as a safeguard.
2008-07-30 14:54:21 +00:00
Ted Williams
08017c93cd [242571] memory search plugin is missing from memory feature 2008-07-30 14:15:32 +00:00
Markus Schorn
c9b8e80699 Removes forced instantiation of constructors and conversion operators, see bug 201174. 2008-07-30 09:24:24 +00:00
Anton Leherbauer
3d97393bad Fix typo 2008-07-30 08:37:09 +00:00
Markus Schorn
f8995a95c5 Output build config to parse log file, bug 242490. 2008-07-30 07:38:12 +00:00
Markus Schorn
75939f494c Scheduling rule for save preferences job, bug 240888. 2008-07-30 07:23:53 +00:00
Markus Schorn
428b7bd010 Property tabs without buttons, bug 242408. 2008-07-30 06:57:49 +00:00
John Cortell
d8aad9f2f0 Fixed NPE's resulting from CDebugTarget now nulling out its CDI reference on cleanup. 2008-07-29 21:31:11 +00:00
Marc Khouzam
d6faf244f9 Bug 241985
Made ServiceFactory accept a variable number of arguments to allow for different constructor signatures for services.
2008-07-29 19:55:29 +00:00
Marc Khouzam
475a55a1e4 Bug 241985
Cleanup of GDBControl constructor
2008-07-29 18:25:42 +00:00
Marc Khouzam
cb49d0ed44 Bug 227183
Adds the disconnect action.  It is kept disabled though, because it is still missing events which must be generated when we connect and disconnect.
2008-07-29 17:12:19 +00:00
Marc Khouzam
55d784008d This change is needed to read the plugin.properties file for strings. 2008-07-29 15:36:15 +00:00
Marc Khouzam
528ee4cdd5 Bug 241423
proper way to prevent enablement and visibility of an action before the plugin is loaded
2008-07-29 15:04:12 +00:00
Anton Leherbauer
1e1e222573 Bug 242316 - [debug view] ExpandStack should be disabled when there is no launch 2008-07-29 12:19:34 +00:00
Anton Leherbauer
18540abf27 Bug 242053 - [formatter] is confused by some macros
Bug 242232 - [Formatter] White space isn't inserted before the first semicolon in 'for' statement
2008-07-29 12:14:29 +00:00
Anton Leherbauer
8e70b3930f Bug 242355 - Action "Open Disassembly" is enabled when it should not 2008-07-29 11:29:24 +00:00
Markus Schorn
475e923db6 Support for __builtin_types_compatible_p, bug 241570. 2008-07-29 09:27:42 +00:00
Markus Schorn
5a6673a049 Support for __builtin_types_compatible_p, bug 241570. 2008-07-29 08:29:27 +00:00
Markus Schorn
3a2809ae69 Testcases for unique specializations and instances, bug 241641. 2008-07-29 07:49:12 +00:00
Marc Khouzam
f1f4d7cb2a Bug 241423
Added a connect action to the debug view.
2008-07-29 00:43:30 +00:00
Alena Laskavaia
66b2e1ceee [241279] - fix for values reverting to defaults 2008-07-28 20:58:41 +00:00
Alena Laskavaia
b10d7e7586 [108331] - applied patch for extending jtag devices 2008-07-28 19:01:59 +00:00
Alena Laskavaia
fe6577cf5a [241870] - applying patch to enable PluginTransferDrop 2008-07-28 18:53:11 +00:00
Sergey Prigogin
0ff272e50e Fix for 235196. 2008-07-28 16:52:14 +00:00
Sergey Prigogin
b0780772c9 Compiler warnings. 2008-07-28 16:51:12 +00:00
Alena Laskavaia
8517a2d791 - fixed resolving source location when debugger returns resolved path itself and absolute path container not in the list 2008-07-28 15:03:30 +00:00
Markus Schorn
1c2c0848b7 Complete support for members of anonymous unions, bug 206450. 2008-07-28 14:42:42 +00:00
Markus Schorn
b03ff9f8d1 Typeid for pointer to member, bug 242197. 2008-07-28 11:53:26 +00:00
Markus Schorn
8f5fc58783 Fix warnings. 2008-07-28 05:55:09 +00:00
Marc Khouzam
52be905ca0 Bug 241985 2008-07-27 19:12:00 +00:00
Marc Khouzam
85fd860849 Should use createMIExecutionContext() instead of calling new MIExecutionDMC directly. 2008-07-27 18:44:07 +00:00
Marc Khouzam
aac8edc5d7 Bug 237556
The public GDB now supports non-stop for linux.
This patch fixes the version number we were using and allows the user to click the non-stop checkbox in the launch.
2008-07-27 18:22:56 +00:00
Marc Khouzam
3b749fe80a Bug 242105
When non-stop mode is requested by the user, the FinalLaunchSequence now issues:

maint set linux-async 1
set breakpoint always-inserted 1
-gdb-set non-stop on

Ultimately, with the official GDB release, only the last command should be needed.
2008-07-27 18:12:42 +00:00
Francois Chouinard
15070bcc55 Hacked threadId for non multi-thread applications. 2008-07-27 18:05:39 +00:00
Marc Khouzam
7506ff7d02 Better pattern matching to be able to find a GDB build from the GDB HEAD 2008-07-26 19:05:04 +00:00
Marc Khouzam
1c0440682f Bug 242114
Make the new MIProcessDMC, MIThreadDMC, MIExecutionDMCNS and
IMIProcessDMContext private.
2008-07-25 20:32:08 +00:00
Marc Khouzam
0db5876d62 Bug 239050
This patch adds more usage of the IProcesses service.  I believe the patch is
backwards compatible with our 1.0 release (not with the latest HEAD).  The
patch does the following:

1- cleanup context hierarchy to become:

                                          MIControlDMContext
                                                    |
                                           MIProcessDMC (IProcess)
 MIExecutionGroupDMC __/         |
   (IContainer)                               |
        |                                  MIThreadDMC (IThread)
  MIExecutionDMC  _____/
   (IExecution)

Notice how I put MIControlDMContext at the top.
The create*DMC methods have been updated accordingly.
The constructors of the MI*DMC classes have been updated accordingly.

2- Deprecated GDBRunControl.getThreadData() and GDBRunControl.getProcessData()
and have GdbThreadFilterEditor and ThreadVMNode use IProcesses instead.

3- because of (2) I was able to remove IGDBRunControl and GDBRunControlNS
completely.

4- Made MIProcesses.getExecutionData() fetch the thread data using
CLIInfoThreads as is done (but deprecated) in GDBRunControl.getThreadData()

5- Added a cache and event listeners to MIProcesses to cache CLIInfoThreads.

6- Update MIRunControlEventProcessor and CLIEventProcessor to use
MIControlDMContext as their top context instead of IContainerDMContext
2008-07-25 19:37:00 +00:00