diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index 5e6bb3ce35f..3fe3eb3d18f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -1,3 +1,23 @@ +2003-07-08 Alain Magloire + + Unfortunately GDB/MI does not make the errors available via the advertise + way explain in the documentation, for example: + 27-var-create - * this->aaa + &"There is no member or method named aaa.\n" + &"Type Hello has no component named aaa.\n" + 27^error,msg="." + + According to the doc, the error should be available in the msg field: + 27^error,msg="There is no member or method named aaaa" + + Since this will not be fix in GDB/MI anytime soon, we cope with it by + grabing the logstream error and make it available in + + CDIException.getDetailedMesssage(). + + src/org/eclipse/cdt/debug/mi/core/command/*.java: All the commands + changed to grab also the logstream messages if any for the exception. + 2003-06-25 Alain Magloire Patch from Chris Songer, excerpt from its email: