Summary: | [msp430-elf] Disassembly of interrupt vectors | ||
---|---|---|---|
Product: | binutils | Reporter: | Orlando Arias <orlandoarias> |
Component: | binutils | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nickc, orlandoarias |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Orlando Arias
2016-05-26 18:34:08 UTC
The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=77d66e7b303f6fa65dd2ca4abce6393d6ea70a8f commit 77d66e7b303f6fa65dd2ca4abce6393d6ea70a8f Author: Nick Clifton <nickc@redhat.com> Date: Fri May 27 13:49:58 2016 +0100 Improve the MSP430 disassembler's handling of memory read errors. PR target/20150 * msp430-dis.c (msp430dis_read_two_bytes): New function. (msp430dis_opcode_unsigned): New function. (msp430dis_opcode_signed): New function. (msp430_singleoperand): Use the new opcode reading functions. Only disassenmble bytes if they were successfully read. (msp430_doubleoperand): Likewise. (msp430_branchinstr): Likewise. (msp430x_callx_instr): Likewise. (print_insn_msp430): Check that it is safe to read bytes before attempting disassembly. Use the new opcode reading functions. Hi Orlando, I have checked in an extended version of my original patch. With this applied the output now looks like this: Disassembly of section __interrupt_vector_47: 0000ffdc <__interrupt_vector_47>: ffdc: c4 45 mov.b r5 ; Warning: disassembly unreliable - not enough bytes available So, there is still a warning message, but I think that it is more helpful. Plus I have removed the "Addresss xxx out of bounds" message. Cheers Nick |