1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

744 commits

Author SHA1 Message Date
Jesper Eskilson
7542722436 Cleaned up random number generation in DSF examples.
Fixed two FindBugs problems: (1) doing Math.abs(random.nextInt()) (which
may be negative if nextInt() returns Integer.MIN_VALUE), and (2)
creating a new Random() object for each nextInt() invocation.

Change-Id: I037a8f6c6c875c951a20beb315c54dc3759c963f
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-07-21 16:13:35 -04:00
Anton Leherbauer
02026595cc Fix Disassembly creating 64-bit address breakpoint for 32-bit target 2015-07-14 15:16:45 +02:00
Anton Leherbauer
7861db94e1 Fix capitalization of Run to Line, Move to Line, etc. 2015-07-14 15:14:38 +02:00
Dmitry Kozlov
2af7d6d592 Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult
Change-Id: I83ef2c8b22cf7a4acef3ccd68b9785a57cb66981
Signed-off-by: Dmitry Kozlov <ddk@codesourcery.com>
2015-07-09 07:56:07 -04:00
Teodor Madan
a740576b78 Bug 456958 Disassembly view sometimes doesn't update after stepping
instructions

- set update pending to false when received a late disasm result and no
context is available.
- add some trace messages helping trace the issue

Change-Id: Ia0a98ef283e871d12de4f50bad89a8d2f4e4c887
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-07-01 09:14:42 -04:00
Marc Khouzam
1011502687 Bug 317173 - Better use of generics
Change-Id: I19319f85219db677328d9fc35574f07ca84a3752
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-16 15:42:17 -04:00
Marc Khouzam
d997a7c313 Bug 317173 - Added generics
Change-Id: I9387aa408f43cb34e93182286e5a1f5f281ca418
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-11 10:55:26 -04:00
Jonah Graham
26bef5d321 Bug 317173 - cleanup warnings
- Add generics for ServiceRegistration and ServiceReference
  (added <?>), See Bug 322007 which added generics to OSGI
- Add generics for getAdapter, See Bug Bug 442021
- Fix calls to MessageFormat.format()
- Cross reference some unused/commented out code for dprintf with
  associated @SuppressWarnings("unused")

Change-Id: I4bacb3b37b69c97ab35615413f0f1f3e71aa2092
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-11 10:53:35 -04:00
Jonah Graham
835288f558 Bug 469926: Update readme from CVS to GIT URLs
Change-Id: I77ee51f2a59bf306b789a6664b82a5f8d79f919a
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-11 13:01:58 +01:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Jonah Graham
406950d31f Bug 467023 - Minor updates to the DSF Programming Intro
- Add a note about turning pre-processor off so edits made as part of
  the tutorial are not overwritten
- Add missing ConfinedToDsfExecutor for Exercise 4
- Fix typo

Change-Id: I790fc2e3f640510a665a9a29a04f20502af7c710
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 19:00:33 +01:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Jesper Eskilson
01a1046fa1 Fixed copy-paste-bug causing the wrong variable to be checked in a
conditional.

Change-Id: I4156b612b955dc5ac648b4d331ac9537f8b182f9
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-05-01 20:42:11 -04:00
Mikhail Khodjaiants
0215bdc330 Bug 465963 - Changing "Variable text font" preference has no effect
Change-Id: Ibe7dc5a5dbdbdd698f13094f220bf00255ad6221
2015-05-01 20:39:15 -04:00
Mikhail Khodjaiants
9d848e3ede Revert "Bug 465963 - Changing "Variable text font" preference has no effect"
This reverts commit 6d6666df33.
2015-04-30 12:36:45 -04:00
Mikhail Khodjaiants
6d6666df33 Bug 465963 - Changing "Variable text font" preference has no effect 2015-04-30 12:16:25 -04:00
Marc Khouzam
2c56fe5406 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 14:22:19 -04:00
Marc Khouzam
ecf21ca882 Move to new getAdapter() signature using generics
Change-Id: If51cc778c1b7e7dfea7a6fb3b7f39acea56aa330
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-18 22:03:17 -04:00
Alena Laskavaia
0fec0f9cd3 Bug 464639 - DsfSourceLookupParticipant throwing exception on unknown
object

Change-Id: Iac79f1e942c90d700f5f6275da44ea89597aa3b2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-04-17 11:07:56 -04:00
Marc Khouzam
3f8305fc0f Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 15:39:36 -04:00
Marc Khouzam
2335e8b93b Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 14:02:24 -04:00
Jesper Eskilson
f38dd92fb6 Fixed problem where auto-unboxing may throw NPE
Change-Id: Ib7728721ce2c679565c8399722f1de50930fb3ed
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-03-28 10:15:35 +01:00
Marc Khouzam
4781f20495 Move some leftover plugins from Java 5 to Java 7.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 13:42:20 -04:00
Marc Khouzam
a04d64606e Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:39:17 -04:00
Marc Khouzam
ef53a9fa4d Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:30:53 -04:00
Marc Khouzam
87a29d31aa Add many missing @Override to remove warnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:18:06 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Marc Khouzam
12bb52805e Add brackets
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 10:11:47 -04:00
Marc Khouzam
5ca4c351df Clean up javadoc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:57:47 -04:00
Marc Khouzam
088569b1cf Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:50:37 -04:00
Marc Khouzam
677a49200d Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:28:42 -04:00
Marc Khouzam
1a11a46fda Adding friend access
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:20:23 -04:00
Marc Khouzam
51e701d5f4 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:13:51 -04:00
Marc Khouzam
68df11a6b1 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-23 09:11:59 -04:00
Marc Khouzam
c652e20d9b Typos
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-20 11:21:14 -04:00
Marc Khouzam
70128c214a Typos
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-20 11:11:58 -04:00
Marc Khouzam
85477b8093 Typos
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-19 11:11:28 -04:00
Marc Khouzam
ab0fee1cf0 Typos
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-17 14:04:14 -04:00
Marc Khouzam
b975579045 Typos
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-12 13:41:24 -07:00
Marc Khouzam
f3457c7a55 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-05 13:38:43 -05:00
Matthew Khouzam
f517c704bc replace size()|length() > 0 with !isEmpty()
isEmpty is garantied to be as fast or faster than size and
length. It is also easier to read.

Change-Id: Ia768910c21313666aeab774963c0b6e82d825b44
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-03-04 10:33:47 -05:00
Marc Khouzam
04f7079574 Remove dead code
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:20:47 -05:00
Marc Khouzam
59e43f8253 Close resources
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:18:44 -05:00
Marc Khouzam
002e422dac Remove unused private method
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:14:09 -05:00
Marc Khouzam
ae2b10f980 Parametrize type
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:12:45 -05:00
Marc Khouzam
cba4006e97 Remove unnecessary SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:09:37 -05:00
Marc Khouzam
d266f8656e Remove unnecessary .api_filters
Note that
memory/org.eclipse.cdt.debug.ui.memory.traditional/.settings/.api_filters
needs to be kept because:
1- it removes warnings about implementing provisional APIs
2- that plugin sets warnings as errors, so warnings are not allowed

Change-Id: Id4bcc9cd78c4c6678ef749cfe276e5a9945efa1e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-11 15:48:32 -05:00
Alena Laskavaia
7124bcc621 Enhanced Expressions: menu for add locals and registers in dsf
Added a popup menu in expressions menu to add locals group
and registers group - for discoverability of this feature.

The menus are added to generic dsf but the command handlers 
added to the gdb plugin, just in case somebody wants to implement
this for another dsf based debugger

Change-Id: Iab64e2a9f3a0c81f8bac939a2a5e94c67ef1daba
2015-01-23 20:14:12 -05:00
Alena Laskavaia
8db788ee92 Bug 214398: Implement Load Symbols and Load Symbols for All
- switched default ui from actions to commands
- for DSF implemented this in DSF GDB
- for CDI implemented command wrappers
- created new API to support loading symbols in IModules service
(IModules2)

Change-Id: Id44f42fa9f0f3d7f22ff7dda07c0830262667d9c
2015-01-19 14:58:18 -05:00
Marc Khouzam
92641573ba Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-17 05:12:52 -05:00