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

1385 commits

Author SHA1 Message Date
Simon Marchi
74e4b6d504 Fix MIMemoryTest.java:asynchronousReadWrite for architectures with fWordSize > 1
Commit 84a53f8d80 broke this test for an
architecture with fWordSize == 2.  The buffer for writing a word went from
length fWordSize to 1, and the expected buffer size of a read as well.
This commit fixes it.

Change-Id: Ie50766031fc7dd8d480f126abc48a6dfd487b9e5
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-09-16 09:44:01 -04:00
Marc Khouzam
be95954cdd Have Debug's automated tests use the new GDB 7.10
Change-Id: I6c2d2aa925b0d54add32ec8d8e8f167d4bdd9b6f
2015-09-03 21:01:12 -04:00
Marc Khouzam
6272b4e523 Bug 476432 - GDB version comparison fails for GDB 7.10
Change-Id: I51366e45deabda29a1a5b00166039bad14a146f8
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-09-03 21:00:54 -04:00
Simon Marchi
f505c21a48 Add version 7.10 to GDB download and build script
Change-Id: I5b58beb4fd628392461ebca55caa0724a154e147
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-08-31 10:49:13 -04:00
Jon Beniston
708d6a6318 Bug 417895. Use tab instead of space between opcode and operand.
This makes the disassembly easier to read.

Change-Id: I5f7d737f321aa05f5056a74af70794ee618f323c
Signed-off-by: Jon Beniston <jon@beniston.com>
2015-08-25 09:11:16 -04:00
Marc Khouzam
03f2299797 Simple changes for Sonar warnings
Change-Id: Idba9a9fcbdb0c606cf8a94bf23ac65aa942a6e5a
2015-08-17 18:50:42 -04:00
Marc Khouzam
d185083407 Simple changes for Sonar warnings
Change-Id: I990473a9c4d86d2aeb8e36b0ac466a15f42329df
2015-08-17 18:50:28 -04:00
Marc Khouzam
20702b3045 Simple changes for Sonar warnings
Change-Id: I6f99d9fa808a52e3b6d925e695ff74424120c4ce
2015-08-17 09:28:43 -04:00
Marc Khouzam
22fb739c9b Simple changes for Sonar warnings
Change-Id: Ic47b9cef191d1f59514327cdb2f612869da12b16
2015-08-17 09:27:51 -04:00
Marc Khouzam
f8292e1bc4 Simple changes for Sonar warnings
Change-Id: I180c828485beccd7944c61a8e58d42b909333a41
2015-08-17 09:27:31 -04:00
Marc Khouzam
dc4b8aaf58 Simple changes for Sonar warnings
Change-Id: I105e0cb90aa64dd7af6ac10a9a74d9e73e932a6f
2015-08-17 08:03:21 -04:00
Marc Khouzam
7a16ca18f5 Fix some trivial sonar warnings
Change-Id: I3da053a5fb4186a8cbbef73f58dc50d8b89bbd8e
2015-08-13 16:12:46 -04:00
Marc Khouzam
0d7432318e Bug 469763 - DSF-GDB top-level service classes for better extensibility
Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-08-10 10:47:49 -04:00
Simon Marchi
6ed3ce5fce MIRegistersTest fixes
- Fix getModelDataForRegisterDataValueInDifferentNumberFormats failure

Nothing seems to set the register we use to do the test to a particular
value.  The value happened to be 0.  This broke the octal test, because
it assumes that the result starts with a 0, but has characters after
that 0.  This is not true when the result is 0.  The fix is to set the
register to a know value beforehand (0x1234).

- Fix compareRegisterForMultipleExecutionContexts for slow targets by
adding missing massageTimeout.

Change-Id: I681acdeb08f8e3c2fdaf8dc9cf60801584da4423
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-08-06 14:47:38 -04:00
Anton Leherbauer
9b8aa0e12c Bug 473352 - [dynamic printf] The default printf format string does not support 64bit addresses
Change-Id: I85a8281d409c3a6d164bdb3434b197ab57c656c9
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-07-28 09:15:56 +02:00
Marc Khouzam
bb50c58c02 Bug 473098 - Reflect tp action changes from while-stepping
The action changes were not immediately shown when changes were done
from the while-stepping action dialog

Change-Id: I36c4b366f0fd97d0a5c939b17eda5e6cd696d89d
2015-07-21 12:58:22 -04:00
Marc Khouzam
2b3d664972 Bug 473098 - Reflect tracepoint action changes
Tracepoint action changes were not immediately reflected in
the list of attached actions.

Change-Id: I6d0ad788d40c69febf2df5226252a7eeabde39b4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-20 16:00:42 -04:00
Marc Khouzam
93df44a4ca Disable remote detach test case for 7.5
With gdbserver 7.5, detaching from a process leaves gdbserver hanging
which prevents the next testcase from running.

We therefore disable the two detach testcases for version 7.5 only.
Note that we cannot simply @ignore the testcases since we want to run
them for the local case, even for version 7.5.

Change-Id: Id4b69420abd1218be5eaf2c54a9f44349283edc2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 15:53:44 -04:00
Marc Khouzam
5028a94396 Disable restart test in case of remote debugging
Change-Id: I08310791fe23c31219ea0e6ae26ea7f0a14eeff7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 08:16:17 -04:00
Marc Khouzam
75a3d71546 Create tests for GDB 7.10
Change-Id: I940f95a73278483d1b21dc8df9cdd41520522959
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-23 16:11:30 -04:00
Simon Marchi
e634076cdf Change way to skip building of gdb doc
Instead of modifying the source files of the documentation, it's cleaner
to replace the invocation to makeinfo to invoke "true". This will skip
building of all the docs.

Change-Id: I33a8ba7e1932433de48ab98d6cda3fda0bb09143
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 15:34:19 -04:00
Simon Marchi
13978c1567 [dsf-gdb] tests: Check if a line tag is defined more than once
As a safety net, fail if a line tag is defined more than once.

Also, allow calling resolveLineTagLocations more than once for a single
test.

Change-Id: I0832d3d28c4d688c38fd33dfc668b0ec6b8c4ffa
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 10:00:17 -04:00
Marc Khouzam
2b21405150 Bug 468192 - Prevent creating a duplicate bp when modifying properties
- Have CBreakpointPropertyPage check if any CBreakpoint already exists
at the specified location
- Have GDBDynamicPrintfPropertyPage check if any CBreakpoint already
exists at the specified location
- Have GDBTracepointPropertyPage check if any CBreakpoint already exists
at the specified location

Change-Id: I67096343a7173a98a144e3577a6b8a05377759e3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-12 16:08: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
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
8282a1767e Bug 469007: Reference MIExpressionsNonStopTest in test suites
Change-Id: If29de1ee2941a2bb3cb5c27dd9a61741b76165e6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-01 15:08:22 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Marc Khouzam
0ec42e99dd Bug 466492 - Remove console when removing exited processes
Change-Id: I029c89d81fc0f0e96dc8f3b160ea5286b0adb5ba
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-15 10:25:45 -04:00
Marc Khouzam
fe51f92804 Update GDB download script for version 7.9.1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-13 15:36:23 -04: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
Simon Marchi
cb16665cc7 Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.

By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.

Screenshot of before/after:
	http://i.imgur.com/Sx5ZPfO.png

It is still impossible to edit the value, but this would be addressed in
another patch.

Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-04 16:03:18 -04:00
Marc Khouzam
d533adec3c Bug 407340 - Keep showing in the Debug view a process that has exited
Change-Id: Ib4a1c80d99b1a311c781ea1f481943982cdf0cbd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 15:41:58 -04:00
Marc Khouzam
1ac11fc4bf Bug 463975 - Show exit code in console when doing a Run
Change-Id: I97fe993e33f1774133aa7cfd488e6e549dae2e0a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:27:01 -04:00
Simon Marchi
c4f5c35620 [dsf-gdb] debug tests: Remove useless try/catch
The try/catch doesn't add anything. If getStackTrace throws, the test
will fail and will show the useful stack trace.

Change-Id: Icf453ff2ca6c10a32f264fece0f0db9af8049612
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-01 10:10:58 -04:00
Marc Khouzam
2c70025486 Wrong error code used.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 11:41:06 -04:00
Marc Khouzam
bd66f35865 Bug 464636 - Modernize Run launch
Change-Id: I1c7a4cbbcd00f3967fe9cdbc1fc4b6e0b4d4d14f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:17:51 -04:00
Marc Khouzam
0c2af8d5ce Bug 464056 - Wrong exit code returned in some multi-process cases
Change-Id: I71c3aca8c8c98494408d2a7677d2837768592b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 15:51:26 -04:00
Marc Khouzam
7320ded57d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:49:48 -04:00
Marc Khouzam
230a67daa5 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:30:09 -04:00
Marc Khouzam
493e6b3fac Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:09:34 -04:00
Marc Khouzam
d92be4a40e Clarify where the extra tab comes from
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:06:14 -04:00
Marc Khouzam
52b36d6b0a Bug 464636 - Re-create dsf.gdb CMainTab for backwards compatibility
Change-Id: Ibf3f2ee8722ceeb5609389ce0f5a131841d3950b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:02:40 -04:00
Marc Khouzam
6b134ee043 Bug 464636 - Move CMainTab from o.e.cdt.dsf.gdb to
o.e.cdt.launch.CMainTab2

Change-Id: I5f0cf6d03858e78d95da5356dad36930ed4877b2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:00:36 -04:00
Marc Khouzam
7d3c3bcfe8 Bug 464636 - Example of adding a tab to the Run launch
Change-Id: I6d557ca787b3bf400e6bfbb3f9a6b219ecb003f9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 10:40:04 -04:00
Marc Khouzam
479cd95c3a Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-21 16:07:16 -04:00
Marc Khouzam
da1993169d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 10:37:35 -04:00
Marc Dumais
9cc312e1fe Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager

Change-Id: I77fc411e7484e41a9b66bf388a4120bc51a78549
2015-04-17 14:59:36 -04:00
Marc Khouzam
d071e969b7 Bug 462623: Split GdbAdapterFactory to allow overriding
Change-Id: Icb9b8d03c070afa8bdea5218d5d4a1aad5d86ebb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-17 11:24:08 -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
7c8b2459d5 Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:36:20 -04:00