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

696 commits

Author SHA1 Message Date
Pawel Piech
f88b03fbd0 [247356] Use API tooling. 2008-09-15 21:31:37 +00:00
Marc Khouzam
0fb7dec635 Bug 245749 In the end, we decided to isolate the threadId to groupId map into the eventProcessor, and not crowd the IMIProcesses interface. 2008-09-15 19:42:12 +00:00
Marc Khouzam
2552eacead Bug 247161 According to a GDB maintainer, GDB will not send an ^error after a ^done. Therefore we can remove this case and cleanup. 2008-09-15 17:48:40 +00:00
Pawel Piech
1d08e1c884 [247010] - Added a guard to avoid re-creating an adapter session after it's been disposed. 2008-09-12 20:40:16 +00:00
Pawel Piech
66960d32ba [247010] - Rolled back the check for session.isActive() before returning the adapter set. 2008-09-12 20:20:51 +00:00
Marc Khouzam
8968ec763d Bug 246737 Catching the RejectedExecutionException in GdbConnectCommand in case the session is shutdown. 2008-09-12 17:31:49 +00:00
Marc Khouzam
d86c2f8bcb Bug 243461 Removed commented out code. 2008-09-12 17:23:01 +00:00
Marc Khouzam
31aeb7bca9 Bug 245749 Avoid race condition by filling thread to group map of IMIProcesses service directly using new addThreadId() and removeThreadId() methods 2008-09-12 15:17:54 +00:00
Marc Khouzam
fbb2135214 Bug 242234 creates GDBControl_7_0, CLIEventProcessor_7_0 and
MIRunControlEventProcessor_7_0.  It also reverts CLIEventProcessor and
MIRunControlEventProcessor to the logic needed for a GDB pre 7.0 (the way we released it in 1.0)

MIThreadExited and MIThreadCreated events are now only issued once.

Running events are also issued only once, however, it needed a little
gymnastics to keep the same functionality.  Before 7.0, what we did was trigger the event once a continue, step or next command was executed; this allowed to also know the type of command that caused the running event.  With the new MI event "*running", we don't know the type of the command that caused it.

What I did was, like before, when a continue, step, next command is issued, I
store the type of the command, and once the *running event occurs, I use that
type.  I do this using a global MIRunControlEventProcessor_7_0.fLastRunningCmdType

When issuing such a continue, etc command through the CLI, we still need to somehow remember the type of the command.  This is under discussion in the bug.
2008-09-11 19:36:56 +00:00
Anton Leherbauer
a980785a88 Bug 247010 - RejectedExecutionException when launch is removed 2008-09-11 13:14:40 +00:00
Anton Leherbauer
41c8b18397 Bug 241789 - [view model] RejectedExecutionException during shutdown of Eclipse while a debug session is active 2008-09-11 07:25:36 +00:00
Ted Williams
83c49e7875 [244640] fail to export org.eclipse.dd.dsf.gdb-feature (.classpath "bin/classes" -> "bin") 2008-09-11 04:48:24 +00:00
Marc Khouzam
57fde8187e Bug 242234 The JUnit tests made use of GDBControl in a hard-coded fashion. This patch replaces uses by ICommandControlService or IGDBControl 2008-09-10 18:49:32 +00:00
Anton Leherbauer
49b922013a Bug 246584 - [source lookup] DsfSourceDisplayadapter sometimes fails to restore current line highlighting 2008-09-10 13:21:58 +00:00
Anton Leherbauer
03ac321f7a Bug 246581 - [run control] SteppingController fails to synchronize stepping 2008-09-10 13:06:57 +00:00
Pawel Piech
2fe6ba6149 [246763] - [debug view] Debug view missing an update after running the program 2008-09-09 21:33:16 +00:00
Pawel Piech
4837793d14 [246789] - Added a missing null check. 2008-09-09 21:22:26 +00:00
Pawel Piech
0e70351e3f [246640] - [run control][update policy] Stepping should always be synchronized with painting the IP 2008-09-09 21:13:16 +00:00
Pawel Piech
cfe2a71e89 [246789] - [concurrent] Sequence.cancel() can trigger an assertion error in RequestMonitor 2008-09-09 20:59:09 +00:00
Marc Khouzam
56adb58e42 Bug 242234 To be able to version the GDBControl service, we cannot make direct reference to the class GDBControl. That class contains a bunch of public methods however. What I did was to brute-force include all these methods in a new interface IGDBControl. I have then replaced every reference to GDBControl with IGDBControl.
Also, I have moved SessionType out of GDBControl and into its own class.
2008-09-09 18:58:09 +00:00
Marc Khouzam
168df99385 Bug 242234 Replacing AbstractMIControl with ICommandControlService; and also replace MIControlDMContext with ICommandControlDMContext 2008-09-09 17:55:44 +00:00
Pawel Piech
7e5d149909 [246653] - [expressions][update policy] Invalid label update generated by AbstractCachingVMProvider, leads to an NPE in VariablesVMNode. 2008-09-08 22:58:01 +00:00
Pawel Piech
67b41fa70e [240997] Changed the return type of IMIDMEvent.getMIEvent() to Object to avoid future compiler errors. 2008-09-08 21:13:42 +00:00
Pawel Piech
1253a42f62 [240997] - Additional fixes for generics related javac compile error. 2008-09-08 19:41:32 +00:00
Pawel Piech
c48cd231b5 [240997] - Additional fixes for generics related javac compile error. 2008-09-08 19:06:43 +00:00
Pawel Piech
86adda189d [246318] Added a comment referring to bug in platform. 2008-09-08 17:41:18 +00:00
Randy Rohrbach
800d7229c9 Bugzilla 246318 2008-09-05 19:00:52 +00:00
Pawel Piech
73572c5065 [246320] - [registers][view model] Register VM nodes do not use findDMCInPath() in encodeMemento()/compareMemento() 2008-09-05 04:29:34 +00:00
Pawel Piech
cefb06a952 [246005] Added a todo comment. 2008-09-02 19:19:05 +00:00
Pawel Piech
47fe10a03a [246004] Added a TODO comment. 2008-09-02 19:18:03 +00:00
Randy Rohrbach
d97f813730 Defect 245972. Simple text resolution changes. 2008-09-02 14:57:53 +00:00
Ted Williams
a91b6292df [239390] [update policy] Update Scopes -- update only visible, update all elements 2008-08-30 00:50:17 +00:00
Randy Rohrbach
412113eec5 Bugzilla 245754 - simple renaming which should have occured awhile ago. 2008-08-29 19:53:04 +00:00
Marc Khouzam
4c7c1efdb3 Bug 245297 All views' refresh should clear their
relevant services cache
2008-08-29 02:31:56 +00:00
Pawel Piech
5700736f3f comments 2008-08-28 05:07:35 +00:00
Pawel Piech
3ff2b8c238 [245297] Added an @since tag. 2008-08-28 05:00:38 +00:00
Ted Williams
257254880f [239390] [update policy] Update Scopes -- update only visible, update all elements 2008-08-27 22:26:55 +00:00
Pawel Piech
9384592322 [245297] - [non-stop][cache] Caching may not be possible in non-stop mode 2008-08-27 21:43:59 +00:00
Marc Khouzam
4bd72a218e Bug 245294 The cache is no longer used in MIRunControlNS and can be cleaned up. 2008-08-26 18:33:46 +00:00
Marc Khouzam
bd90222c77 Bug 244385 Fixes to some tests that were failing. 2008-08-25 19:38:20 +00:00
Marc Khouzam
581b6804ba Better pattern matching for GDB version 2008-08-21 18:23:59 +00:00
Marc Khouzam
4be124e46d Enabling the instantiation of the GDBProcesses_7_0 service. 2008-08-21 18:00:57 +00:00
Marc Khouzam
2367a57c48 Bug 244817 Add logic to support for a SourceElement of type LocalFileStorage. 2008-08-21 14:09:26 +00:00
Marc Khouzam
587c7cb6cc Bug 244567 makes the project optional. The bug I was attributing to the platform, was, as Pawel kindly pointed out, was actually part of our CMainTab class. I have fixed this. 2008-08-21 14:02:54 +00:00
Marc Khouzam
5799b5a2a0 Bug 244749 We didn't display the proper process name after a local
attach.  This change fixes this by storing the process id of the inferior after the
attach is completed.
2008-08-20 20:26:39 +00:00
Marc Khouzam
0ea73d63b0 Bug 244567 Make the executable optional in the Main launch tab, when doing an attach session.
The project is still mandatory for two reasons:
1- platform does not allow an empty project
2- Source lookup was not able to find the code with an empty project; since the platform did not allow for an empty project anyway, I did not investigate the
source lookup issue.
2008-08-20 19:28:14 +00:00
Pawel Piech
7c38e68d1d [244435] Got rid of @Override annotations which were valid only when compiling using java 1.6. 2008-08-20 18:14:03 +00:00
Marc Khouzam
69293447e9 Bug 244467 Add a checkbox to specify if the solib-search-path should
be used to debug processes; in such a case, we don't send the 'file' command.
2008-08-18 19:40:56 +00:00
Marc Khouzam
d761fa884e Bug 244456 Changes the class GDBMultiProcesses to GDBProcesses_7_0 so as to reflect which version of GDB the new version of the service is meant for. 2008-08-18 17:51:11 +00:00
Marc Khouzam
1516391033 Bug 244385 Fixes all the tests except the Memory tests.
The problem was actually that the tests were not using the proper context when
querying the services.
2008-08-18 17:37:18 +00:00