aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1996-05-28 23:20:12 +0000
committerGeoffrey Noer <noer@cygnus>1996-05-28 23:20:12 +0000
commit3308a10725ce964ec832438fc4b89d04290cdfd4 (patch)
tree7b931cde4c398d7b8d38a97852353eb4e832a867 /gdb/remote-mips.c
parente44d14910c888008e3bc1aa5147a981d3b5b6dc8 (diff)
downloadgdb-3308a10725ce964ec832438fc4b89d04290cdfd4.zip
gdb-3308a10725ce964ec832438fc4b89d04290cdfd4.tar.gz
gdb-3308a10725ce964ec832438fc4b89d04290cdfd4.tar.bz2
Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in its
place which reflects what the boards return.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 13fce91..f57c47f 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -2307,7 +2307,7 @@ common_breakpoint (cmd, addr, mask, flags)
if (rerrflg != 0)
{
- if (rresponse != EINVAL)
+ if (rresponse != 22) /* invalid argument */
fprintf_unfiltered (stderr, "common_breakpoint (0x%x): Got error: 0x%x\n",
addr, rresponse);
return 1;