diff options
author | hjk <qtc-committer@nokia.com> | 2011-06-29 11:48:12 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-07-04 12:07:40 +0200 |
commit | 538b09efc801e80c64df7ab9f07121c15bf47fae (patch) | |
tree | f807c0c444b688db1167137856c501918e35deef /tests | |
parent | 36a3028b9d3535dfcd1d144398f49ad518a3f27a (diff) |
debugger: add missing bridge.py
Change-Id: I7e236964007462ca203b898db06e15f77857916b
Reviewed-on: http://codereview.qt.nokia.com/1036
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp index 7283d7e8f56..c490f0b4193 100644 --- a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp +++ b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp @@ -2935,8 +2935,34 @@ namespace qc41700 { } // namespace qc41700 +namespace cp42895 { + + // http://codepaster.europe.nokia.com/?id=42895 + + void g(int c, int d) + { + qDebug() << c << d; + // <== break here + // Check there are frames for g and f in the stack view. + dummyStatement(&c, &d); + } + + void f(int a, int b) + { + g(a, b); + } + + void test42895() + { + f(3, 4); + } + +} // namespace cp + + int main(int argc, char *argv[]) { + cp42895::test42895(); bug5046::test5046(); bug4904::test4904(); qc41700::test41700(); |