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

14375 commits

Author SHA1 Message Date
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
John Cortell
68cbb7177b Fixed warning; unused import 2008-08-21 16:54:09 +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
John Cortell
263d85a58d Add strings used by the recently added Move To Line action (forgot to commit this earlier) 2008-08-21 12:09:52 +00:00
John Cortell
6d4d1d2bed The program executable would be expandable (in the Modules view) only if it lived in the output directory of a CDT project. It should be expandable as long as it's anywhere in a CDT project. I fixed this for shared libraries last month, and realized today the same issue is happening for the program executable. This refactors that earlier solution to fix both cases. It also fixes an NPE that would happen if the shared library was in a non-CDT project, or outside the workspace altogether. 2008-08-20 22:13:45 +00:00
John Cortell
f98068dadf Adjustment to last commit. Use project referenced in the launch config rather than the one stored in the field 'project' (copy&paste goof). 2008-08-20 21:04:48 +00:00
John Cortell
c2c4bc613c Slight organizational improvement to last commit (consolidate two checks into one). 2008-08-20 20:57:26 +00:00
John Cortell
b9f5b7a7d4 Support specifying the program as a relative path pointing outside the project directory. This is currently blocked merely because of shortcomings in the validation logic. There is no hard requirement otherwise for the executable to be in the project directory. In fact, the code I'm tweaking already supports the program being specified as an absolute path. Not allowing a relative path to the same location (or any other valid location) doesn't make sense. 2008-08-20 20:50:17 +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
John Cortell
c178e29335 Fix for 244605. User loses use of LC editor if user stores a progam path in launch configuration that points outside the project directory ("../something", e.g.). Also, fixed Generics warnings. 2008-08-19 20:13:59 +00:00
Ted Williams
1a8fe00295 [244608] [memory] import dialog needs better validation 2008-08-19 20:09:35 +00:00
John Cortell
43c51f933f Fix for 244605. User looses use of LC editor if user stores a progam path in launch configuration that points outside the project directory ("../something", e.g.). Also, fixed Generics warnings. 2008-08-19 19:40:23 +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
Alena Laskavaia
8e64dbaaa5 PR: 215492 - moved to external package 2008-08-18 14:13:35 +00:00
Alena Laskavaia
c1438bceb5 PR: 109999 - use variable substitution for gdb command 2008-08-18 13:38:34 +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
Chris Recoskie
8ffdab73fe fixing accidental use of package visibility for makeArray() 2008-08-15 15:53:40 +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
Mike Kucera
3c6df72408 updated UI plugin version to 5.1 2008-08-14 19:12:05 +00:00
Ken Ryall
736c7a5e69 Reopen when the file "found" is in the workspace. 2008-08-14 15:31:25 +00:00
Vivian Kong
fb41f6daf8 update build info 2008-08-13 20:24:32 +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
Jason Montojo
d7a8770a02 Fix for bug 235482 2008-08-13 16:29:29 +00:00
Ken Ryall
037111a067 Fix build break caused by incomplete commit. 2008-08-13 13:27:20 +00:00
Alena Laskavaia
5ff757551b - message for failing loading library 2008-08-12 21:01:10 +00:00
Alena Laskavaia
d2cba6c8c9 - fixed module loading to avoid wrong error reported 2008-08-12 21:00:40 +00:00
Ken Ryall
1c95fb3c77 More work in the executables manager and view: added a remove button, don't alllow duplicate exes from different providers in the list. 2008-08-12 20:27:10 +00:00
Mike Kucera
433174325e project settings import/export wizards, bug 242010 2008-08-12 18:29:20 +00:00
Ted Williams
800c9730a2 [243910] [Traditional Rendering] DebugEvent processing inflexible 2008-08-12 17:05:27 +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
Emanuel Graf
ca75909f2c fix for error caused by index based TU in extract constant 2008-08-12 09:14:03 +00:00
Sergey Prigogin
d7229a14f2 Implementation of "Rename in File" 2008-08-12 03:39:54 +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
John Cortell
434436e82f gdb session isn't getting cleaned up because of of my change to null out the ICDITarget reference after we dispose it. Reported by Mikhail. Will revisit. For now, just avoid nulling the reference. Restores previous behavior. 2008-08-11 14:49:50 +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
Ken Ryall
1efd4082c4 Executables View improvements: source file providers, import exes with same name, externalized some strings 2008-08-08 20:19:00 +00:00
Pawel Piech
1fbfd51fac [243611] - [commands] Add an ICommandControlService interface. 2008-08-08 17:42:23 +00:00
Anton Leherbauer
de84c1909c Fix for 242707 - Tab is not indenting line in C/C++ editor
Patch by Andrew Gvozdev
2008-08-08 11:32:36 +00:00