diff options
author | Nick Clifton <nickc@redhat.com> | 1998-01-15 20:33:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-01-15 20:33:03 +0000 |
commit | ed3e2cfec298f2159407f5bff89681690a2da869 (patch) | |
tree | eb677bbb6145e5a234e68aa498886421c3f13e41 /gdb/remote-rdi.c | |
parent | ed70a3354d020dce5afb8fa3a87c186d261d3335 (diff) | |
download | gdb-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.c | 17 |
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) { |