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

677 commits

Author SHA1 Message Date
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
Pawel Piech
cd9ffceeef [243611] Make the context type for GDBControlInitializedDMEvent and GDBControlShutdownDMEvent events, more generic. 2008-08-18 17:23:34 +00:00
Pawel Piech
eeba5abcba [244435] - Added registers to the PDA debugger exmple. 2008-08-18 16:59:11 +00:00
Pawel Piech
938067e4ce [244435] - [expressions][registers] A register modified in expressions new may not show new value. 2008-08-18 16:57:32 +00:00
Marc Khouzam
eba5a5fe78 Bug 244336 Use the new --thread/--frame in a centralized location. Added supportsThreadAndFrameOptions() to MICommand to allow subclasses such as CLICommand and RawCommand to override and rely on -thread-select and -stack-select-frame.
Cleanup of MICommands that had --thread/--stack implemented directly in the class.

MIStackNS is no longer needed, and its only
remaining difference (checking if the thread is suspended) has been merged into
MIStack.
2008-08-18 00:37:33 +00:00
Marc Khouzam
518693304f Small fix to avoid showing an pid of 0 in the debug view when only running one process 2008-08-17 19:14:36 +00:00
Marc Khouzam
c26e38fedc Bug 243632 There was a typo in the code for resuming all threads. 2008-08-14 20:12:51 +00:00
Marc Khouzam
f5c6039248 Bug 244053 Until this bug is resolved properly, it is better to set the default for breakpoint applicability to global. 2008-08-13 19:12:04 +00:00
Marc Khouzam
39644e1d06 Bug 242105 Turning on non-stop on a remote target requires a slightly different command. Also, GDB pagination must be turned off to avoid blocking during non-stop. 2008-08-13 19:09:49 +00:00
Pawel Piech
ba200cd3b7 [243611] Added ICommandControlService to list of interfaces used to register GDBControl. 2008-08-13 17:19:34 +00:00
Pawel Piech
c63f94e691 [243899] Commented out the call to terminate() until the exception it throws can be investigated. 2008-08-12 16:00:12 +00:00
Pawel Piech
4edc3e01e0 [243794] - [update policy] VM Cache can save updates after they were canceled. 2008-08-11 17:53:08 +00:00
Marc Khouzam
eeb6b080ef Bug 240507 Fix the cache for the GDBMultiProcesses service. Also clean up the use of thread-info 2008-08-11 13:02:51 +00:00
Pawel Piech
1fbfd51fac [243611] - [commands] Add an ICommandControlService interface. 2008-08-08 17:42:23 +00:00
Marc Khouzam
6497fcf2f7 Bug 239050 I was finally able to get the cache working for the MIProcesses service. And for both non-stop and all-stop mode.
Basically, the cache of this service is used for container-level commands; therefore it should only be made unavailable/available on Container events.  In all-stop we issue container events, but not in non-stop.  So, everything works.

Furthermore, I only clear the cache when threads start and exit.
2008-08-07 20:30:16 +00:00
Marc Khouzam
5f3384b6fe Bug 243487 The reset(IDMContext) method clears descendants of the specified context but not the context itself.
Also, a return was missing.
2008-08-07 20:08:38 +00:00
Marc Khouzam
7c7d4c5918 Bug 243461 Other logic that had to be done when receiving the DSF event instead of the MI event. 2008-08-07 19:17:55 +00:00
Marc Khouzam
cf852997b6 Bug 243465 and Bug 243461 Furhter cleanup of events in non-stop, as well as proper processing of state change on the DSF event instead of MIEvent 2008-08-07 18:04:50 +00:00
Marc Khouzam
be5c3679cb Bug 243465 Removes the sending of Container events in non-stop mode 2008-08-07 17:37:42 +00:00
Anton Leherbauer
0414df9ea1 Bug 242662 - [debug view] Rework ExpandStackAction to an object contribution 2008-08-07 09:10:55 +00:00