mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +02:00
Changed the format of the disassembly error messages.
This commit is contained in:
parent
8d4cf7f7d9
commit
483bcb5df2
3 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-13 Mikhail Khodjaiants
|
||||||
|
Changed the format of the disassembly error messages.
|
||||||
|
* Disassembly.java
|
||||||
|
* CoreModelMessages.properties
|
||||||
|
|
||||||
2004-05-13 Mikhail Khodjaiants
|
2004-05-13 Mikhail Khodjaiants
|
||||||
Removed old disassembly implementation.
|
Removed old disassembly implementation.
|
||||||
* IDisassemblyStorage.java: deleted
|
* IDisassemblyStorage.java: deleted
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
CDebugTarget.Unable_to_get_globals_1=Unable to get globals. Reason:
|
CDebugTarget.Unable_to_get_globals_1=Unable to get globals. Reason:
|
||||||
Disassembly.Unable_to_get_disassembly_instructions_1=Unable to get disassembly instructions.
|
|
||||||
Disassembly.Unable_to_get_disassembly_instructions_2=Unable to get disassembly instructions.
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class Disassembly extends CDebugElement implements IDisassembly {
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().getInt( ICDebugConstants.PREF_MAX_NUMBER_OF_INSTRUCTIONS ) );
|
CDebugCorePlugin.getDefault().getPluginPreferences().getInt( ICDebugConstants.PREF_MAX_NUMBER_OF_INSTRUCTIONS ) );
|
||||||
}
|
}
|
||||||
catch( CDIException e ) {
|
catch( CDIException e ) {
|
||||||
targetRequestFailed( CoreModelMessages.getString( "Disassembly.Unable_to_get_disassembly_instructions_1" ), e ); //$NON-NLS-1$
|
targetRequestFailed( e.getMessage(), e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( mixedInstrs.length == 0 ||
|
if ( mixedInstrs.length == 0 ||
|
||||||
|
@ -81,7 +81,7 @@ public class Disassembly extends CDebugElement implements IDisassembly {
|
||||||
return DisassemblyBlock.create( this, instructions );
|
return DisassemblyBlock.create( this, instructions );
|
||||||
}
|
}
|
||||||
catch( CDIException e ) {
|
catch( CDIException e ) {
|
||||||
targetRequestFailed( CoreModelMessages.getString( "Disassembly.Unable_to_get_disassembly_instructions_2" ), e ); //$NON-NLS-1$
|
targetRequestFailed( e.getMessage(), e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue