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

8462 commits

Author SHA1 Message Date
Markus Schorn
bd34d595fe Additional test cases for Call Hierarchy 2006-09-07 09:42:39 +00:00
Markus Schorn
1203c80cde Ignore type references in Call Hierarchy 2006-09-07 08:46:57 +00:00
Markus Schorn
c09be87a9b Added javadoc 2006-09-07 08:46:13 +00:00
Markus Schorn
f687cd8f7a Add missing locks when accessing PDOM. 2006-09-06 13:48:22 +00:00
Markus Schorn
683950da14 Disable indexer for refactoring tests 2006-09-06 13:47:43 +00:00
Markus Schorn
38aed694f5 Improvement for failing tests, added rename refactoring tests to automated suite. 2006-09-06 09:38:53 +00:00
Norbert Plött
5dd0ee3043 Changing binary -> ascii committed some changes prematurely.
Reverting to the content of Rev. 1.27
2006-09-06 08:15:04 +00:00
Norbert Plött
eca28bea4a *.exsd files are actually ASCII, not binary! 2006-09-06 08:09:50 +00:00
Markus Schorn
de527bb7cd Additional test cases for Call Hierarchy 2006-09-06 07:56:18 +00:00
Doug Schaefer
b4c6a27239 Added allIncludedBy test from cdt_3_1. 2006-09-05 20:23:28 +00:00
Markus Schorn
001c458e92 Test cases for Call Hierarchy 2006-09-05 12:51:14 +00:00
Andrew Niefer
5c49412ff9 bug 156137 - Expression Evaluator does not handle % 2006-09-05 02:03:35 +00:00
Markus Schorn
354a0a70da Fix for bridge between IASTName and ICElement 2006-09-04 15:07:16 +00:00
Markus Schorn
caaf796b01 Increase time limits for AsyncViewerTest 2006-09-04 12:55:18 +00:00
Markus Schorn
39dbbd64b9 Include debug info in test-plugins 2006-09-04 12:53:30 +00:00
Markus Schorn
c09268625c Call Hierarchy: When invoked from editor, allow for partial selections. 2006-09-04 09:15:46 +00:00
Doug Schaefer
eac22a6a7b Bug 72741 - add cancel handling for the pattern search and the findBindings routine in the PDOM. 2006-09-01 20:53:06 +00:00
Norbert Plött
3ddf1a258f bug #154854 - Guard against NPE when cancelling save dialog. Regrouping icons. 2006-09-01 14:32:46 +00:00
Markus Schorn
4924166f87 Call Hierarchy: Open from CEditor 2006-09-01 12:16:04 +00:00
Chris Recoskie
1ebafa1b12 minor changes to plugin names 2006-08-31 15:46:09 +00:00
Chris Recoskie
fa59480912 Update to xlC feature prior to placement on CDT's Callisto update site 2006-08-31 15:40:26 +00:00
Markus Schorn
cb03e2f7d2 Reanabled part of the cdt-ui tests 2006-08-31 15:16:21 +00:00
Doug Schaefer
b4c0cba081 Bug 147999 - Make the identifier table in the BaseScanner new per scanner instance. Sharing between scanner instances has caused infinite loops when threads collide. 2006-08-31 15:05:12 +00:00
Mikhail Khodjaiants
890b02af45 Bug 155826: Duplicate addListener call in Signals view. 2006-08-31 14:42:37 +00:00
Mikhail Khodjaiants
62a4d11277 Bug 155816: NPE thrown by info threads.
Applied patch from James Blackburn (jamesblackburn+eclipse@gmail.com).
2006-08-31 14:22:58 +00:00
Anton Leherbauer
9e23abbfb2 Make inactive code test independent from line delimiters 2006-08-31 14:20:08 +00:00
Markus Schorn
6b2a7a5842 Call Hierarchy: support for hierarchies across project boundaries. 2006-08-31 13:29:56 +00:00
Chris Recoskie
1eceeb0258 partial fix for 113063 from Janees and Vivian 2006-08-31 12:42:23 +00:00
Oleg Krasilnikov
778c379f88 From: Davasam, Sunil K
Sent: Monday, August 28, 2006 9:57 PM
To: Treggiari, Leo; Sennikovsky, Mikhail
Cc: Monteleone, Robert; Davasam, Sunil K
Subject: Issue with CDT dwarf reader..



Hi,

            I found an issue with CDT dwarf reader. The method ‘read_unsigned_leb128()’ contains a bug. Due to this bug, if the control reaches to this method, it goes in infinite loop and Eclipse hangs.  This bug is exposed during the Intel Compiler integration testing into Eclipse/CDT. If the user tries to expand the debug binary (built by Intel Compiler) in ‘C/C++ Projects view’, Eclipse hangs. Even though I found this problem during the Intel Compiler integration testing, I think that the problem will appear when ever the control reaches this method.



According to DWARF standard, algorithm to decode an unsigned LEB128 number:

result = 0;

shift = 0;

size = number of bits in signed integer;

while(true)

{

byte = next byte in input;

result |= (low order 7 bits of byte << shift);

shift += 7;

/* sign bit of byte is second high order bit (0x40) */

if (high order bit of byte == 0)

break;

}



if ((shift <size) && (sign bit of byte is set))

/* sign extend */

result |= - (1 << shift);



--



            But in the implementation, it is reading the same bits again and again.  Here I attached a patch that fixes the problem. Please check in the patch to CDT. I hope you have permission to check in to cdt core package.



The method is defined in the following location.



Method:    read_unsigned_leb128

Line     :    213

File     :     utils/org/eclipse/cdt/utils/debug/dwarf/DwarfReader.java

Package:  org.eclipse.cdt.core



Thanks & Regards,

Sunil
2006-08-31 10:25:42 +00:00
Markus Schorn
937e249087 Add testsuite for package 'viewsupport' to automated ui-tests. 2006-08-31 08:46:27 +00:00
Norbert Plött
814e8ae7b6 Contribution from bug #154854 - GDB console - verbose console mode and save console content buttons 2006-08-31 07:26:28 +00:00
Anton Leherbauer
25b75b4163 Add C refactoring action group to common navigator 2006-08-30 10:34:40 +00:00
Anton Leherbauer
013b90d91e Fix inactive code highlighting race condition and NPE 2006-08-30 10:07:51 +00:00
Anton Leherbauer
d017af2e85 Add unit test for inactive code highlighting 2006-08-30 08:52:24 +00:00
Markus Schorn
3acc9f3c5d Fixed warnings, once again. 2006-08-30 07:46:10 +00:00
Chris Recoskie
a1530d4ea2 copyright fix 2006-08-29 15:24:44 +00:00
Chris Recoskie
f3faea4f89 further patches to 148790 by Vivian and Janees 2006-08-29 13:28:33 +00:00
Anton Leherbauer
98a81457f6 Fix function and method highlighting 2006-08-29 12:04:11 +00:00
Mikhail Khodjaiants
66b8cbde90 Bug 155275: Exception when stepping. 2006-08-29 10:46:38 +00:00
Ken Ryall
75c4506a6e More for bug 106540: When the use toggles the toolbar item to enable the feature, immediately select and reveal the item corresponding to the active editor. 2006-08-28 19:02:59 +00:00
Ken Ryall
12fd9d96f7 Fix bug 130331. 2006-08-28 18:41:42 +00:00
Chris Recoskie
0df02becc9 patch for 155392 by Janees Elamkulam 2006-08-28 17:16:58 +00:00
Markus Schorn
6f04ca7b10 Call Hierarchy: Handling of multiple function definitions 2006-08-28 15:28:46 +00:00
Mikhail Sennikovsky
a7e7af7c47 Fix for the 125571: wiredness in delta handling in GeneratedMakefileBuilder 2006-08-28 15:08:15 +00:00
Anton Leherbauer
a6a899abc5 Fix NPE in LineBackgroundPainter when closing an editor 2006-08-28 13:55:00 +00:00
Anton Leherbauer
487bac0828 Semantic Highlighting (140335) 2006-08-28 12:46:34 +00:00
Markus Schorn
3a46db2f34 Include Browser: Drop support for external files. 2006-08-28 11:43:18 +00:00
Markus Schorn
2156961db1 Fixes warnings. 2006-08-28 09:27:32 +00:00
Ken Ryall
a2457049ee Fix bug 155316. 2006-08-26 19:11:29 +00:00
Doug Schaefer
7549d7cec2 Propogated Import Executable improvements from CDT 3.1. 2006-08-25 20:26:05 +00:00