diff options
author | Nick Clifton <nickc@redhat.com> | 2014-03-03 17:27:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-03-03 17:27:55 +0000 |
commit | 65d7bab5919338f2f41256e24c0609c91eaf0432 (patch) | |
tree | 009a19f6274a2dd338ee6e42603aed7e83d6e162 /gdb/probe.h | |
parent | c1a3e85c37d0121efd395406ef3234b93e588a14 (diff) | |
download | gdb-65d7bab5919338f2f41256e24c0609c91eaf0432.zip gdb-65d7bab5919338f2f41256e24c0609c91eaf0432.tar.gz gdb-65d7bab5919338f2f41256e24c0609c91eaf0432.tar.bz2 |
This patch enhances the MSP430 port of GAS so that, if requested, it will
generate warning messages about an instruction that changes the interrupt
state not being followed by a NOP instruction.
* config/msp430/msp430.c: Replace known mcu array with known
msp430 ISA mcu name array.
Accept any name for -mmcu option.
Add -mz option to warn about missing NOP following an interrupt
status change.
(check_for_nop): New.
(msp430_operands): Emit a warning, if requested, when an interrupt
changing instruction is not followed by a NOP.
* doc/c-msp430.c: Document -mz option.
* gas/msp430/bad.d: Add -mz option.
* gas/msp430/bad.s: Add more cases where warnings should be
generated.
* gas/msp430/bad.l: Add expected warning messages.
Diffstat (limited to 'gdb/probe.h')
0 files changed, 0 insertions, 0 deletions