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

399 commits

Author SHA1 Message Date
Marc Khouzam
945d387170 After the weekly meeting, this cleanup was suggested.
It uses the Future class to extract the data we want.
2008-04-22 19:25:58 +00:00
Pawel Piech
ca383d57de [228148] Fixed an NPE exposed by timing changes in services initialization. 2008-04-22 05:09:50 +00:00
Marc Khouzam
0d04616e1d Bug 226931
Since the use of a terminal is determined by the type of launch and is no
longer an option for the user, it should be removed from the launch tab.
2008-04-21 18:21:17 +00:00
Marc Khouzam
241d941438 Bug 226931
Support for Restart button.
The steps to restarting the inferior are the following:
1- Create a new PTY and tell GDB to use it
2- Create a new MIInferiorProcess object which uses the new PTY
2.5- Have the CLIEventProcessor use the new MIInferiorProcess
3- Restart the inferior using -exec-run
4- Remove the previous inferior Process from the launch
5- Add the new inferior Process to the launch (which will trigger the use of
the new PTY streams)

This change supports the Restart function, including the above steps to perform the proper cleanup.  The code to start the inferior has been extracted from the FinalLaunchSequence and put in GDBControl to allow sharing between start and restart.  Also, the code to create the CLI and inferior process objects has been extracted from the GdbLaunchDelegate and put in GDBControl to to allow sharing between start and restart.

There only interface change that is not in a provisional interface is the
addition of resetInferior() to CLIEventprocessor which is backwards compatible.
2008-04-21 18:08:53 +00:00
Pawel Piech
31d07ac3cc [212839] Added "Type" column to the registers view. 2008-04-18 20:17:49 +00:00
Marc Khouzam
8bced60c03 Bug 223364
ProcessCommandQueued should not be called when de-queuing
2008-04-18 20:00:25 +00:00
Pawel Piech
8d74f0dc4b [227643] Switched to use ILabelUpdate.getColumnIds() instead of IPresentationContext.getColumns(). 2008-04-18 18:41:48 +00:00
Randy Rohrbach
a6a82b3a2c Bugzilla 227629. 2008-04-17 19:22:14 +00:00
Marc Khouzam
2c82390e87 Bug 202343
Launch for for Attaching to a running
2008-04-15 16:38:17 +00:00
Marc Khouzam
178f065901 Bug 212916
Support for redirecting the inferior's input/output to a terminal.
2008-04-12 01:16:56 +00:00
Marc Khouzam
ac09808486 Bug 226691
We only support GDB 6.6 and higher, from what I can see,
-interpreter-exec is always available (I tried with mi1 m2 and m3 on GDB 6.6).
Therefore, we can simplify the launch by removing the
CheckInterpreterConsoleStep.
2008-04-12 00:50:15 +00:00
Marc Khouzam
8422bf48dd Bug 223076
Debug traces were printed for out-of-band events when they were processed (processEvent()) and again when the next ResultRecord is received (processCommandDone()).

This fix only prints the ResultRecord in the processCommandDone() method.
2008-04-10 14:46:02 +00:00
Marc Khouzam
4093756b37 Bug 226039
Read the gdbinit file as specified by the user.  It does not specify at the command line as the CDT does it, but instead sources it as a GDB command.  I believe this allows for easier specialization of the launch.
2008-04-10 14:16:51 +00:00
Pawel Piech
9ffecad0c8 [225959] Added a call to complete updates in case of missing property provider. 2008-04-08 21:43:42 +00:00
Randy Rohrbach
b14f86c070 Bugzilla 226166
Exports action handlers.
2008-04-08 18:05:50 +00:00
Marc Khouzam
cc8dc92899 Fix to the MIRunControl test. 2008-04-07 17:32:19 +00:00
Randy Rohrbach
bacca4af5c Bugzilla 225959. 2008-04-07 13:27:50 +00:00
Pawel Piech
4d9b833a78 [225820] Removed the unused Section interface. 2008-04-05 19:40:00 +00:00
Ted Williams
06b2e66cb0 M6 build 2008-04-05 19:22:06 +00:00
Ted Williams
3631515ed8 M6 missing icons 2008-04-05 19:16:32 +00:00
Ted Williams
d7ecf155db M6 build 2008-04-05 19:06:12 +00:00
Ted Williams
117080e50d M6 2008-04-05 19:04:24 +00:00
Ted Williams
6500ea99f5 M6 2008-04-05 17:56:54 +00:00
Ted Williams
f4c0b1b176 [225813] Add a new GDB-Launch feature 2008-04-05 06:48:12 +00:00
Ted Williams
3b6ff0210d [225813] Add a new GDB-Launch feature 2008-04-05 05:23:17 +00:00
Randy Rohrbach
5b3e8b0827 Made a little more readable. 2008-04-05 02:15:54 +00:00
Randy Rohrbach
d25c62e763 Bugzilla 225606 2008-04-05 02:14:07 +00:00
Marc Khouzam
8049a7bb12 Previous commit was a mistake. This change requires M6 to compile. 2008-04-03 20:57:42 +00:00
Marc Khouzam
6f7bbca839 Fix compilation problem 2008-04-03 20:53:30 +00:00
Pawel Piech
723b0df731 [225610] Removed the IExpressionDMData.getStringValue() method. 2008-04-03 17:56:22 +00:00
Pawel Piech
07b2d9a32c [225384] Switch to the platform debug modules view. 2008-04-02 18:29:00 +00:00
Pawel Piech
6947c2f41b [225388] Added a CommandHandle.toString() implementation. 2008-04-02 17:56:05 +00:00
Marc Khouzam
f8934d49d7 Comment no longer valid after fix of Bug 206932 2008-04-02 15:18:36 +00:00
Pawel Piech
b76951e59e [217020] Refactored ICommandControl interface to use a token to identify queued commands. 2008-04-02 04:09:35 +00:00
Pawel Piech
706d77cc0c [206932] Made ICommandControl independent from the IDsfService class. 2008-04-01 20:46:11 +00:00
Pawel Piech
19e920c433 [225197] Got rid of IElementPropertiesProvider.getPropertyName/Description methods. 2008-04-01 20:18:09 +00:00
Pawel Piech
cb02c10c78 [225193] Simplified AbstractVMContext constructor. 2008-04-01 20:09:43 +00:00
Pawel Piech
7fe354ae79 [225193] Simplified AbstractVMContext constructor. 2008-04-01 20:04:30 +00:00
Marc Khouzam
4fe0578953 Bug 222766
Adds the use of solib-search-path as done in the CDT (by filling the Shared Library subtab in the debugger tab of the launch).
Also adds the use of auto-solib-add as in the CDT.
2008-04-01 18:23:01 +00:00
Marc Khouzam
624f00aa98 Compilation fix after changes to DsfMemoryBlockRetrieval. 2008-04-01 15:43:38 +00:00
Pawel Piech
5f378a1751 [223969] Extended DsfMemoryBlockRetrieval to support multiple contexts. 2008-04-01 03:39:29 +00:00
Pawel Piech
1420d16bdd [224438] Renamed view model packages in org.eclipse.dd.dsf.debub.ui as a provisional API. 2008-03-31 18:08:03 +00:00
Pawel Piech
deabab9f21 [216803] Removed the getName() methos from Data Model contexts declared in IRegisters service interface. 2008-03-31 17:00:28 +00:00
Pawel Piech
5542247e15 [223969] Make the CommandCache.setContextAvailable() optional. 2008-03-31 16:49:48 +00:00
Marc Khouzam
76a4659367 Give a way for the JUnit tests to specify which GDB to use. 2008-03-31 14:36:20 +00:00
Marc Khouzam
bb57cba31b Bug 202339 comment #3
Currently, DSF launches gdb with a <file> argument, which tells gdb where the
executable file and the symbols are.  This is potentially restrictive to
someone wanting to extend gdb.

This change removes the <file> argument to gdb and uses -file-exec-file and
-file-symbol-file commands to set this parameter in the FinalLaunchSequence.
This has the exact same effect, but allows to easily override these commands by
using a tailored FinalLaunchSequence.
2008-03-31 14:33:32 +00:00
Marc Khouzam
a74f59c186 Bug 202339
For a local launch, only gdb/mi debugger will be available, while for a remote launch, only gdbserver debugger will be available.
This is a temporary solution.
2008-03-31 01:32:37 +00:00
Marc Khouzam
e820790108 Bug 221505
Moves all extensions of org.eclipse.dd.gdb.launch.ui into org.eclipse.dd.gdb.launch.
org.eclipse.dd.gdb.launch.ui will be removed
2008-03-28 19:11:02 +00:00
Marc Khouzam
72792685ee Fixing typo in Assert 2008-03-28 18:39:04 +00:00
Pawel Piech
af4f8c99e1 [202510] Changed the IRegisters.getBitFields() method to take a generic IDMContext argument. 2008-03-28 18:21:36 +00:00