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:
parent
cf51cb6b13
commit
87c75513e0
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
//-------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue