From a080b8df662e1a6b41bddb9cf54622a5385aaa9b Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Tue, 23 Mar 2010 14:24:35 +0100 Subject: [PATCH] debugger: patch cosmetics --- share/qtcreator/patches/gdb-work-around-trk-single-step.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/patches/gdb-work-around-trk-single-step.patch b/share/qtcreator/patches/gdb-work-around-trk-single-step.patch index bd330526cba..6c4e791d82a 100644 --- a/share/qtcreator/patches/gdb-work-around-trk-single-step.patch +++ b/share/qtcreator/patches/gdb-work-around-trk-single-step.patch @@ -3,7 +3,7 @@ NOTE: Apply to --target=arm-none-symbianelf builds only. This works around the problem of TRK overshooting line-wise stepping by a few instructions. This is not a gdb problem, but a TRK problem, but currently -easier to workaround on the gdb side. It's sufficient to apply for the +easier to workaround on the gdb side. It's sufficient to apply for the arm-none-symbianelf targeted gdbs only as TRK is the only probe known to have this problem. @@ -12,7 +12,7 @@ this problem. @@ -4754,9 +4754,9 @@ infrun: not switching back to stepped thread, it has vanished\n"); return; } - + - if ((stop_pc == stop_pc_sal.pc) + if (1 /* (stop_pc == stop_pc_sal.pc) && (ecs->event_thread->current_line != stop_pc_sal.line -- GitLab