X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fxc16x-ibld.c;h=6b228bcdfcdefeb02f7981ca51bbc0561429f5d0;hb=50d036364fb2a71b3ac9a0b0cdbe58296832a1b2;hp=5929ded7ded455ac89b2e6b9766d3cd4c5059da5;hpb=b3adc24a0713411ab38a21dc894dd40dbc5c8f4f;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/xc16x-ibld.c b/opcodes/xc16x-ibld.c index 5929ded7de..6b228bcdfc 100644 --- a/opcodes/xc16x-ibld.c +++ b/opcodes/xc16x-ibld.c @@ -480,7 +480,10 @@ extract_normal (CGEN_CPU_DESC cd, abort (); if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0) - return 0; + { + *valuep = 0; + return 0; + } value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc); }