mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in its
place which reflects what the boards return.
This commit is contained in:
parent
e44d14910c
commit
3308a10725
@ -1,3 +1,10 @@
|
||||
Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
|
||||
|
||||
* remote-mips.c: cannot use EINVAL for breakpoint test since
|
||||
its value varies for different hosts (e.g. go32's is 19, while
|
||||
sunos is 22). Changed to hardcoded 22 since that is what the
|
||||
mips boards return.
|
||||
|
||||
Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user