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

8893 commits

Author SHA1 Message Date
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 Pltt
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
David Daoust
e89a4f0149 Fix for 155088 2006-08-25 19:53:26 +00:00
David Daoust
d0cb4c3a58 fixed warning 2006-08-25 19:52:16 +00:00
Chris Recoskie
163a235063 fix copyrights 2006-08-25 19:46:29 +00:00
Chris Recoskie
aca069a1db fix for 155236 by Vivian Kong 2006-08-25 17:25:09 +00:00
Chris Recoskie
5524cec83b fix for 148790 by Vivian Kong 2006-08-25 15:10:24 +00:00
Markus Schorn
f5f18b8cb2 Call Hierarchy: added action 'Focus on' 2006-08-25 13:51:53 +00:00
Markus Schorn
110e1adca5 Improvements for the Call Hierarchy 2006-08-25 12:48:56 +00:00
Doug Schaefer
cec3d1b1ef Propogate PDOM changes to support search down the PDOM hierarchy. 2006-08-25 01:46:32 +00:00
Ken Ryall
d1c5dd658c Move the workaround for bug 102563 into the mi plug-in so that non-gdb CDI clients can get the full path for line breakpoint locations. Fixes bug 155137. 2006-08-24 23:11:00 +00:00
Ken Ryall
8abe95052b Merge fix for bug 155129 from 3_1. 2006-08-24 22:39:22 +00:00
Markus Schorn
af1d76d4e3 Improvements for the Call Hierarchy 2006-08-24 14:15:36 +00:00
Markus Schorn
838fd14a80 Fixes file resolution in ref-by query. 2006-08-24 11:08:39 +00:00
Thomas Fletcher
19737500de Fix to bail out gracefully when projects are closed or gone
PR 154891
2006-08-23 17:53:18 +00:00
Markus Schorn
697921c9b4 ICElements except ITranslationUnit, ICFolder, ... do not adapt to IResource any more. 2006-08-23 14:50:51 +00:00
Markus Schorn
140137bb62 CallHierarchy: support for inverse queries 2006-08-23 12:29:59 +00:00
Mikhail Sennikovsky
ce1a8b474e Fix for bug#150972 2006-08-23 12:24:14 +00:00
Norbert Pltt
d80185bcd5 Fix #146725 - Erreneous error message during GDB startup
gdb set new-console is not implemented on Linux and should not be used
2006-08-23 06:52:22 +00:00
Mikhail Khodjaiants
9d683d0275 Bug 145758: Unable to use the default command factories. 2006-08-22 14:34:53 +00:00
Markus Schorn
5c2049ef4f Call Hierarchy: added context menu 2006-08-22 09:33:33 +00:00