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

Changed the format of the disassembly error messages.

This commit is contained in:
Mikhail Khodjaiants 2004-05-13 21:09:38 +00:00
parent 8d4cf7f7d9
commit 483bcb5df2
3 changed files with 7 additions and 4 deletions

View file

@ -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
Removed old disassembly implementation.
* IDisassemblyStorage.java: deleted

View file

@ -1,3 +1 @@
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.

View file

@ -69,7 +69,7 @@ public class Disassembly extends CDebugElement implements IDisassembly {
CDebugCorePlugin.getDefault().getPluginPreferences().getInt( ICDebugConstants.PREF_MAX_NUMBER_OF_INSTRUCTIONS ) );
}
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 ||
@ -81,7 +81,7 @@ public class Disassembly extends CDebugElement implements IDisassembly {
return DisassemblyBlock.create( this, instructions );
}
catch( CDIException e ) {
targetRequestFailed( CoreModelMessages.getString( "Disassembly.Unable_to_get_disassembly_instructions_2" ), e ); //$NON-NLS-1$
targetRequestFailed( e.getMessage(), e );
}
}
}