mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 23:45:23 +02:00
Fix for bug 79608: NPE in CValue.
This commit is contained in:
parent
f7c112c70d
commit
f207200fa2
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-11-26 Mikhail Khodjaiants
|
||||||
|
Fix for bug 79608: NPE in CValue.
|
||||||
|
* CValue.java
|
||||||
|
|
||||||
2004-11-26 Mikhail Khodjaiants
|
2004-11-26 Mikhail Khodjaiants
|
||||||
Fix for bug 79377: "Mixed disassembly" should fall back to disassembly w/o source when mixed disassembly fails.
|
Fix for bug 79377: "Mixed disassembly" should fall back to disassembly w/o source when mixed disassembly fails.
|
||||||
* Disassembly.java
|
* Disassembly.java
|
||||||
|
|
|
@ -364,7 +364,7 @@ public class CValue extends AbstractCValue {
|
||||||
BigInteger pv = value.pointerValue();
|
BigInteger pv = value.pointerValue();
|
||||||
if ( pv == null )
|
if ( pv == null )
|
||||||
return ""; //$NON-NLS-1$
|
return ""; //$NON-NLS-1$
|
||||||
IAddress address = factory.createAddress( value.pointerValue() );
|
IAddress address = factory.createAddress( pv );
|
||||||
if ( address == null )
|
if ( address == null )
|
||||||
return ""; //$NON-NLS-1$
|
return ""; //$NON-NLS-1$
|
||||||
CVariableFormat format = getParentVariable().getFormat();
|
CVariableFormat format = getParentVariable().getFormat();
|
||||||
|
|
Loading…
Add table
Reference in a new issue