diff options
author | hjk <qtc-committer@nokia.com> | 2010-04-14 10:58:11 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-04-14 17:00:53 +0200 |
commit | 0b8e2a98265a76b82d546f2e6255ff95c3246240 (patch) | |
tree | 389c14c00532edca3a22336c4298595779130214 | |
parent | 62b766c731d451441b7477b9d9f7e2766c44feac (diff) | |
download | qt-creator-0b8e2a98265a76b82d546f2e6255ff95c3246240.tar.gz |
debugger: add a patch to solve the 'Cannot step on Maemo' problem.
This patch needs to be applied to any gdb newer then Sep 17, 2007
before using it for Maemo.
(cherry picked from commit 465aa55cea05172e9e8da8facf3f7107c722c0a2)
-rw-r--r-- | share/qtcreator/patches/gdb-stepping-for-maemo.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/share/qtcreator/patches/gdb-stepping-for-maemo.patch b/share/qtcreator/patches/gdb-stepping-for-maemo.patch new file mode 100644 index 0000000000..491bf8b178 --- /dev/null +++ b/share/qtcreator/patches/gdb-stepping-for-maemo.patch @@ -0,0 +1,17 @@ +--- a/gdb/infrun.c ++++ b/gdb/infrun.c +@@ -4126,7 +4127,9 @@ infrun: not switching back to stepped thread, it has vanished\n"); + + if (execution_direction != EXEC_REVERSE + && ecs->event_thread->step_over_calls == STEP_OVER_UNDEBUGGABLE +- && in_solib_dynsym_resolve_code (stop_pc)) ++ && in_solib_dynsym_resolve_code (stop_pc) ++ && !(ecs->event_thread->step_range_start > 1 ++ && in_solib_dynsym_resolve_code (ecs->event_thread->step_range_start))) + { + CORE_ADDR pc_after_resolver = + gdbarch_skip_solib_resolver (gdbarch, stop_pc); + +------------------------------------------------------------------------ + +NOTE: This relates to http://sourceware.org/bugzilla/show_bug.cgi?id=11497 |