aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-27 18:12:33 +0000
committerDoug Evans <dje@google.com>1998-01-27 18:12:33 +0000
commitee1c882ed53ff116d9044ebc475ed009a08d2093 (patch)
treea4f9751c86f10e2fef2b4f7d83628c409b720f2f /opcodes
parent764c48f8ab8802f4c67167596f64242c62da880b (diff)
downloadgdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.zip
gdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.tar.gz
gdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.tar.bz2
allow '/' in addition to '.' in dest spec
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/txvu-opc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/txvu-opc.c b/opcodes/txvu-opc.c
index 0f6deee..56267c9 100644
--- a/opcodes/txvu-opc.c
+++ b/opcodes/txvu-opc.c
@@ -227,7 +227,7 @@ const struct txvu_operand txvu_operands[] =
#define LPCREL11 (LUIMM12UP6 + 1)
{ 11, 0, TXVU_OPERAND_SIGNED + TXVU_OPERAND_RELATIVE_BRANCH, 0, 0, 0, 0 },
- /* Destination indicator, single letter only, with leading '.'. */
+ /* Destination indicator, single letter only, with leading '.' or '/'. */
#define LDOTDEST1 (LPCREL11 + 1)
{ 4, TXVU_SHIFT_DEST, TXVU_OPERAND_SUFFIX,
/* Note that we borrow the insert/extract/print functions from the
@@ -560,7 +560,7 @@ parse_dotdest (pstr, errmsg)
{
long dest;
- if (**pstr != '.')
+ if (**pstr != '.' && **pstr != '/')
{
*errmsg = "missing `.'";
return 0;
@@ -588,7 +588,7 @@ parse_dotdest1 (pstr, errmsg)
char c;
long dest;
- if (**pstr != '.')
+ if (**pstr != '.' && **pstr != '/')
{
*errmsg = "missing `.'";
return 0;