This commit is contained in:
Nick Clifton 1998-01-15 20:33:03 +00:00
parent ed70a3354d
commit ed3e2cfec2
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
* remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
to prevent spurous error messages on non-ICE targets.
start-sanitize-vr4111
Thu Jan 15 09:28:52 1998 Gavin Koch <gavin@cygnus.com>

View File

@ -252,16 +252,29 @@ device is attached to the remote system (e.g. /dev/ttya).");
{
printf_filtered ("RDI_info: %s\n", rdi_error_message (rslt));
}
rslt = angel_RDI_info (RDIInfo_Icebreaker, &arg1, &arg2);
/*
** There's no point asking if the target's an ICEBreaker, unless
** you're going to do something with the answer. All it does is provoke
** an error message on non-ICE targets
rslt = angel_RDI_info (RDIInfo_Icebreaker, & arg1, & arg2);
if (rslt)
{
printf_filtered ("RDI_info: %s\n", rdi_error_message (rslt));
}
rslt = angel_RDI_info (RDIInfo_DownLoad, &arg1, &arg2);
*/
/*
** There's no point asking if the target can accept a configuration download,
** unless you're going to do something with the answer. All it does is
** provoke an error message on non-ICE targets
rslt = angel_RDI_info (RDIInfo_DownLoad, & arg1, & arg2);
if (rslt)
{
printf_filtered ("RDI_info: %s\n", rdi_error_message (rslt));
}
*/
rslt = angel_RDI_info (RDIInfo_GetLoadSize, &arg1, &arg2);
if (rslt)
{