aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-rdi.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-01-15 20:33:03 +0000
committerNick Clifton <nickc@redhat.com>1998-01-15 20:33:03 +0000
commited3e2cfec298f2159407f5bff89681690a2da869 (patch)
treeeb677bbb6145e5a234e68aa498886421c3f13e41 /gdb/remote-rdi.c
parented70a3354d020dce5afb8fa3a87c186d261d3335 (diff)
downloadgdb-ed3e2cfec298f2159407f5bff89681690a2da869.zip
gdb-ed3e2cfec298f2159407f5bff89681690a2da869.tar.gz
gdb-ed3e2cfec298f2159407f5bff89681690a2da869.tar.bz2
Applied patch from Tony.Thompson@arm.com
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r--gdb/remote-rdi.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 19cedd3..6db42c1 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -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)
{