aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-20 10:06:05 +0000
committerJeff Law <law@redhat.com>1999-09-20 10:06:05 +0000
commit54af6ff67571ba569b94e26d558d02f9955e6844 (patch)
tree2275cd1e034d39a2dcea7fa81515caca0923e711 /gas/config/tc-hppa.c
parent18369bea46815da73c1acef9a0007c1053246af5 (diff)
downloadgdb-54af6ff67571ba569b94e26d558d02f9955e6844.zip
gdb-54af6ff67571ba569b94e26d558d02f9955e6844.tar.gz
gdb-54af6ff67571ba569b94e26d558d02f9955e6844.tar.bz2
* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
of PA2.0 support.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 63e87b4..8965a6c 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2718,7 +2718,7 @@ pa_ip (str)
/* Handle ,gate completer for new syntax branches. */
case 'g':
- if (*s == ',' && strcasecmp (s + 1, "gate") == 0)
+ if (*s == ',' && strncasecmp (s + 1, "gate", 4) == 0)
s += 5;
else
break;
@@ -2726,7 +2726,7 @@ pa_ip (str)
/* Handle ,l completer for new syntax branches. */
case 'l':
- if (*s == ',' && strcasecmp (s + 1, "l") == 0)
+ if (*s == ',' && strncasecmp (s + 1, "l", 1) == 0)
s += 2;
else
break;
@@ -2734,7 +2734,7 @@ pa_ip (str)
/* Handle ,push completer for new syntax branches. */
case 'M':
- if (*s == ',' && strcasecmp (s + 1, "push") == 0)
+ if (*s == ',' && strncasecmp (s + 1, "push", 4) == 0)
s += 5;
else
break;
@@ -2742,7 +2742,7 @@ pa_ip (str)
/* Handle ,pop completer for new syntax branches. */
case 'B':
- if (*s == ',' && strcasecmp (s + 1, "pop") == 0)
+ if (*s == ',' && strncasecmp (s + 1, "pop", 3) == 0)
s += 4;
else
break;
@@ -2750,9 +2750,9 @@ pa_ip (str)
/* Handle ,%r2 completer for new syntax branches. */
case 'L':
- if (*s == ',' && strcasecmp (s + 1, "%r2") == 0)
+ if (*s == ',' && strncasecmp (s + 1, "%r2", 3) == 0)
s += 4;
- else if (*s == ',' && strcasecmp (s + 1, "%rp") == 0)
+ else if (*s == ',' && strncasecmp (s + 1, "%rp", 3) == 0)
s += 4;
else
break;