From 97c3f29d23b33445cd5087ae30ea91f6a20f946b Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Tue, 18 Oct 2005 19:18:53 +0000 Subject: [PATCH] Bug 111568: Fix for corrupt stack messages not working. Applied patch from Timesys. --- debug/org.eclipse.cdt.debug.mi.core/ChangeLog | 5 +++++ .../cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java | 1 + 2 files changed, 6 insertions(+) diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index 3cfafb3d275..d42297816d9 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -1,3 +1,8 @@ +2005-10-18 Mikhail Khodjaiants + Bug 111568: Fix for corrupt stack messages not working. + Applied patch from Timesys. + * cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java + 2005-09-01 Mikhail Khodjaiants Bug 108636: mi level selection option should be moved to the gdb page. * src/org/eclipse/cdt/debug/mi/core/GDBCDIDebugger.java diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java index a658e126880..6e3c9fcfcb8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java +++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java @@ -169,6 +169,7 @@ public class Thread extends CObject implements ICDIThread { } catch (MIException e) { // First try fails, retry. gdb patches up the corrupt frame // so retry should give us a frame count that is safe. + depth = factory.createMIStackInfoDepth(); mi.postCommand(depth); info = depth.getMIStackInfoDepthInfo(); if (info == null) {