Commit Graph

72811 Commits

Author SHA1 Message Date
Erik Verbruggen
56f755efe8 Changed ObjC context keyword comparison to use identifiers. 2009-10-20 12:48:23 +02:00
Roberto Raggi
c5cf70c6b8 Check for valid decl_specifier_seq when parsing declaration statements. 2009-10-20 11:42:18 +02:00
Oswald Buddenhagen
63c2ceae3b fix compile :} 2009-10-20 11:38:42 +02:00
Roberto Raggi
8f4bdd5355 Removed unused method Parser::maybeSimpleExpression() 2009-10-20 11:29:53 +02:00
Roberto Raggi
7c62901919 Removed unused method Parser::maybeFunctionCall() 2009-10-20 11:28:38 +02:00
Oswald Buddenhagen
ad092d11d5 re-add debug-in-terminal in form of a new gdb adapter 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
3dc1e31deb fix initial breakpoint setting
as it turns out, it is not possible to set pending breakpoints until
gdb has loaded as image. so add some hooks to enable adapters to trigger
the initial breakpoint syncing at the right time. do not add additional
states (say, InferiorPreparing), as it would just complicate things.
2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
b3addf14f1 fix shutdown paths
this includes:
- move the gdb ownership back to the engine (thus strip down the
  adaptors as far as possible)
- make gdb startup synchronous
- make adapter shutdown synchronous
- fix the state transitions relating to shutdown
2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
4b0060c537 adapters don't need to set DebuggerNotReady state 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
de9b4e8365 centralize setting of AdapterStarted state 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
e0a0aebbae group declarations logically 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
0e398303cc remove dead code 2009-10-20 11:26:55 +02:00
Roberto Raggi
13675cf6ed Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
2009-10-20 11:21:25 +02:00
Robert Loehning
0a7d402d85 Trk: Ensure proper connecting and disconnecting. 2009-10-19 18:50:26 +02:00
Roberto Raggi
fe2c9cc16d Improved parsing of ambiguous statements.
Done with Erik Verbruggen
2009-10-19 17:48:57 +02:00
Friedemann Kleint
9e10e11c9c CDB: Add further checking to avoid invalid set asserts.
Clear a failed call. _HAS_ITERATOR_DEBUGGING can unfortunately
not be turned off as it is not binary compatible with other code.
2009-10-19 16:44:07 +02:00
Erik Verbruggen
077c19a661 Fix for invalid parsing of "(a)[b]", including test cases. 2009-10-19 14:50:20 +02:00
Christian Kamm
202fef42ca Add completion for function signatures.
You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-19 14:19:28 +02:00
Friedemann Kleint
a3c8a39e3f CDB: Fix attaching to a crashed process. 2009-10-19 14:04:11 +02:00
Friedemann Kleint
f240ceb4e6 CDB: Fix code model scope detection when stopping at function scope.
that is, setting a break point at the opening brace or at function.
Set StackFrame::from correctly.
2009-10-19 10:59:46 +02:00
ck
e4f24ab53f Remote debugging: Choose the right debugger. 2009-10-19 10:20:00 +02:00
ck
6a49395e33 Add experimental Maemo support.
Includes Maemo tool chain, run configuration, run control,
manager, etc.

Adds the DebuggerManager to the object pool. This is ugly, but
nobody came up with anything better on short notice. To be
refactored.

Co-Authored-By: kh1
2009-10-16 18:01:07 +02:00
ck
6f5158fa8f Refactor conditional for clarity ...
... and diff-reduction to Maemo branch. :)

Real-Author: ossi
2009-10-16 18:01:07 +02:00
ck
46c4f84a04 Add support for "set sysroot" for remote debugging. 2009-10-16 18:01:07 +02:00
ck
5f33e08e2a When we hide the action, also hide its toolbutton.
Originally-By: kh1
2009-10-16 18:01:07 +02:00
ck
0d3709c350 Inferior interruption handling changes
On UNIX, use SIGINT to interrupt the child, as the remote debugger's
-exec-interrupt does so as well.
On Windows, we get a SIGTRAP which we cannot influence.
As we currently do not know on which OS a remote debuggee is running,
accept either signal in that mode.

Reviewed-By: ossi
2009-10-16 18:01:07 +02:00
ck
42d3ada0b4 Re-enable "set target-async on" and make failure non-fatal 2009-10-16 18:01:07 +02:00
ck
3e3422df09 Make DebuggerStartParameters::clear() more readable 2009-10-16 18:01:07 +02:00
ck
18a383848a Add braces.
More diff reduction ...
2009-10-16 18:01:07 +02:00
ck
74caa031c4 Fix typo 2009-10-16 18:01:06 +02:00
Erik Verbruggen
074d477fb0 Got the gdb engine to compile on Mac.
Reviewed by: Friedemann Kleint
2009-10-16 17:08:51 +02:00
Friedemann Kleint
25ee70bb24 Debugger: Use the code model to detect unitialized variables.
This should save debugger round trips and crashes in the debugging
helpers.
Add respective option to debugging helper option page, defaulting to
true.On this occasion, make CDB detect shadowed variables correctly
and display them as "<shadowed n>" as does the Gdb engine by
reversing the direction in which
CdbSymbolGroupContext::populateINameIndexMap works.
Rubber-stamped-by: hjk <qtc-committer@nokia.com>
2009-10-16 16:26:28 +02:00
con
525ef4cc85 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
2009-10-16 14:40:40 +02:00
con
77efc921c2 Rename the internal parts that still used QuickOpen instead of Locator
Merge branch 'adams' into 1.3
2009-10-16 14:25:30 +02:00
con
18b4adf61c Remove unused files 2009-10-16 14:16:40 +02:00
Roberto Raggi
4007963a0e The base result needs to be an instance and not a class declaration. 2009-10-16 12:46:26 +02:00
Roberto Raggi
8b514657cc Added support to complete function-call operators. 2009-10-16 12:23:16 +02:00
Roberto Raggi
30f355dac3 Removed resolveArrowOperator and resolveArrayOperator. 2009-10-16 12:23:16 +02:00
Roberto Raggi
ef605df95b Renamed Instantiation. 2009-10-16 12:23:16 +02:00
Roberto Raggi
bb7e17ed8c Removed unused code. 2009-10-16 12:23:16 +02:00
con
1074aca8d2 Rename the QuickOpen plugin to Locator 2009-10-16 11:54:39 +02:00
con
a80966e063 Remove empty unused file. 2009-10-16 11:51:02 +02:00
con
ed77fcc551 Rename pro and pri files 2009-10-16 11:50:38 +02:00
con
a5bfacecb7 Rename directory quickopen --> locator 2009-10-16 11:44:18 +02:00
con
450a18b1cb quickopenconstants --> locatorconstants 2009-10-16 11:34:35 +02:00
Robert Loehning
4d8cb3954a Trk: Cleaned up waiting for finishing. 2009-10-16 11:32:44 +02:00
con
17d9bd6b0a Rename QuickOpen namespace. 2009-10-16 11:30:46 +02:00
hjk
25d75c7f90 debugger: allow fancy/non-fancy mode for new dumpers 2009-10-16 11:13:19 +02:00
hjk
73aa3e2164 debugger: make parsing of new dumper outpuit a bit more robust 2009-10-16 11:13:19 +02:00
hjk
e1c8bb407f debugger: move adding the double quotes for valueencoding==7 to the host side 2009-10-16 11:13:19 +02:00