aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-rdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r--gdb/remote-rdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 0a1b695..2911904 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -198,10 +198,10 @@ device is attached to the remote system (e.g. /dev/ttya).");
/* Make the basic low-level connection. */
- rslt = Adp_OpenDevice (NULL, NULL, 1);
+ rslt = Adp_OpenDevice (name, NULL, 1);
if (rslt != adp_ok)
- error ("Could not open port");
+ error ("Could not open device \"%s\"", name);
gdb_config.bytesex = 2 | (target_byte_order == BIG_ENDIAN ? 1 : 0);
gdb_config.fpe = 1;