summaryrefslogtreecommitdiff
path: root/gdb/remote-rdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r--gdb/remote-rdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 01433c82375..63c8d600aba 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -251,7 +251,7 @@ device is attached to the remote system (e.g. /dev/ttya).");
/* Make the basic low-level connection. */
- Adp_CloseDevice ();
+ arm_rdi_close (0);
rslt = Adp_OpenDevice (devName, openArgs, rdi_heartbeat);
if (rslt != adp_ok)