1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

Bug 400628: Add extra info to error message

Change-Id: I8102f1ad0fd6f2fc9f83bba8606098cf8f19b893
This commit is contained in:
Jonah Graham 2017-03-07 14:36:21 +00:00 committed by Gerrit Code Review @ Eclipse.org
parent cf51cb6b13
commit 87c75513e0

View file

@ -906,12 +906,14 @@ public class MIBreakpoints extends AbstractDsfService implements IBreakpoints, I
*
* @since 4.4
*/
protected void addDynamicPrintf(final IBreakpointsTargetDMContext context, final Map<String, Object> attributes, final DataRequestMonitor<IBreakpointDMContext> drm) {
// Not supported
drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, UNKNOWN_BREAKPOINT_TYPE, null));
protected void addDynamicPrintf(final IBreakpointsTargetDMContext context, final Map<String, Object> attributes,
final DataRequestMonitor<IBreakpointDMContext> drm) {
// Not supported
drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED,
"Dynamic-Printf usage in CDT requires GDB 7.7 or later", null)); //$NON-NLS-1$
drm.done();
}
//-------------------------------------------------------------------------
// removeBreakpoint
//-------------------------------------------------------------------------