mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
gas: blackfin: support ABORT debug insn
There is a pseudo debug insn named ABORT that is commonly used in simulation, so support it in the assembler too. The disassembler already supports it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-09-22 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* config/bfin-lex.l (abort): Accept case-insensitive abort insn.
|
||||||
|
* config/bfin-parse.y (ABORT): Handle the ABORT token.
|
||||||
|
|
||||||
2010-09-22 Mike Frysinger <vapier@gentoo.org>
|
2010-09-22 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
|
* config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
|
||||||
|
@ -230,7 +230,7 @@ int yylex (void);
|
|||||||
[aA]1"."[hH] return A_ONE_DOT_H;
|
[aA]1"."[hH] return A_ONE_DOT_H;
|
||||||
[aA]0"."[hH] return A_ZERO_DOT_H;
|
[aA]0"."[hH] return A_ZERO_DOT_H;
|
||||||
[aA][bB][sS] return ABS;
|
[aA][bB][sS] return ABS;
|
||||||
abort return ABORT;
|
[aA][bB][oO][rR][tT] return ABORT;
|
||||||
[aA]1"."[xX] _REG.regno = REG_A1x; return REG;
|
[aA]1"."[xX] _REG.regno = REG_A1x; return REG;
|
||||||
[aA]1"."[wW] _REG.regno = REG_A1w; return REG;
|
[aA]1"."[wW] _REG.regno = REG_A1w; return REG;
|
||||||
[aA]1 _REG.regno = REG_A1; return REG_A_DOUBLE_ONE;
|
[aA]1 _REG.regno = REG_A1; return REG_A_DOUBLE_ONE;
|
||||||
|
@ -3558,6 +3558,12 @@ asm_1:
|
|||||||
|
|
||||||
/* pseudoDEBUG. */
|
/* pseudoDEBUG. */
|
||||||
|
|
||||||
|
| ABORT
|
||||||
|
{
|
||||||
|
notethat ("psedoDEBUG: ABORT\n");
|
||||||
|
$$ = bfin_gen_pseudodbg (3, 3, 0);
|
||||||
|
}
|
||||||
|
|
||||||
| DBG
|
| DBG
|
||||||
{
|
{
|
||||||
notethat ("pseudoDEBUG: DBG\n");
|
notethat ("pseudoDEBUG: DBG\n");
|
||||||
|
Reference in New Issue
Block a user