Oswald Buddenhagen
b8daa7d5a7
collapse #ifdef branches
2009-10-20 19:26:31 +02:00
Robert Loehning
8c4c5f2ebf
Reporting failed Trk-connect.
2009-10-20 18:31:30 +02:00
Oswald Buddenhagen
8060479483
find executable relative to core location
2009-10-20 18:16:25 +02:00
Oswald Buddenhagen
3dfe96ebb8
refactor attachAdapter
2009-10-20 18:16:25 +02:00
Oswald Buddenhagen
3a84440e91
clean up includes
2009-10-20 18:16:25 +02:00
Oswald Buddenhagen
c936e29931
remove useless methods (base class has identical implementations)
2009-10-20 18:16:25 +02:00
Oswald Buddenhagen
d34ad30b55
fix error message
...
these are a mess anyway
2009-10-20 18:16:25 +02:00
Oswald Buddenhagen
a4760b716e
centralize message box handling in adapters
2009-10-20 18:16:25 +02:00
Robert Loehning
30745d049f
Trk: Added preventive disconnects.
...
Reviewed-by: hjk
2009-10-20 17:51:20 +02:00
Roberto Raggi
1006be240d
Fixed possible crash when completing top-level declarations.
2009-10-20 17:17:11 +02:00
Roberto Raggi
7c68acbd3f
Regenerated the AST cloner.
2009-10-20 16:54:51 +02:00
Friedemann Kleint
a02f8cb496
Debugger: Resize columns correctly in Threads Window.
2009-10-20 16:44:42 +02:00
Friedemann Kleint
29475a0d27
Merge branch '1.3' of scm.dev.nokia.troll.no:creator/mainline into 1.3
2009-10-20 16:37:42 +02:00
Roberto Raggi
41139ef630
Don't acticate completion inside C++-like comments.
2009-10-20 16:37:23 +02:00
Friedemann Kleint
82f47372c3
CDB: Add consistency checks to dumpers that avoid iterator asserts.
...
_HAS_ITERATOR_DEBUGGING asserts can cause the debugger to be in an
inconsistent state and should thus be avoided. Add checks on the
underlying red/black tree structures using friend helper classes.
2009-10-20 16:34:37 +02:00
hjk
902bb6baa0
debugger: small changes for synchroneous mode
2009-10-20 16:02:54 +02:00
hjk
7961e885af
debugger: work on autotests
2009-10-20 16:02:53 +02:00
Robert Loehning
bf74d9aed9
Compile fix in Parser.cpp
2009-10-20 15:55:40 +02:00
Roberto Raggi
1dd6c64246
More tests for template-ids.
2009-10-20 15:29:58 +02:00
Roberto Raggi
18ef2f2615
Reduce backtracking when parsing ambiguous name ids.
2009-10-20 15:29:00 +02:00
Roberto Raggi
3ed4a743c0
Check the lookahead token before to start the parse of core-postfix expressions.
2009-10-20 15:01:45 +02:00
Roberto Raggi
bd7c7e0e55
Added debug helpers
2009-10-20 14:56:36 +02:00
Oswald Buddenhagen
86d49de750
silence & fix debug messages
2009-10-20 14:17:26 +02:00
Oswald Buddenhagen
b2ae433a58
centralize exec-continue calling and error handling
2009-10-20 14:08:59 +02:00
Oswald Buddenhagen
a8b39c54d7
legalize InferiorRunningRequested => InferiorStopped transition
...
it is alread used for the error cases anyway.
one could introduce an intermediate state InferiorRunningFailed, but
this doesn't seem to bring any advantages.
2009-10-20 14:05:42 +02:00
Erik Verbruggen
5586a6daff
Fixed use of uninitialized Control.
2009-10-20 13:50:55 +02:00
Christian Kamm
cadaec24aa
Fix function signature completion for cv-qualified functions.
...
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-10-20 12:55:14 +02:00
Christian Kamm
e3479d9942
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 >
(cherry picked from commit 202fef42ca )
2009-10-20 12:55:14 +02:00
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
Roberto Raggi
3ec7f9d389
Added tests for the new regressions in the C++ parser.
2009-10-20 11:27:40 +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
aa89317731
Fix compiler warnings in dumper tests.
2009-10-19 16:46:59 +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