]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* remote-rdi.c (arm_rdi_open): Pass serial device name to
authorStan Shebs <shebs@codesourcery.com>
Wed, 19 Aug 1998 01:27:46 +0000 (01:27 +0000)
committerStan Shebs <shebs@codesourcery.com>
Wed, 19 Aug 1998 01:27:46 +0000 (01:27 +0000)
  Adp_OpenDevice, and include it in error reports.

gdb/ChangeLog
gdb/remote-rdi.c

index e884f4e2ca6d1380c72deec20a5028f0e5301dfe..dc715f8a7c77780822e0028523f12d843128d3d7 100644 (file)
@@ -1,3 +1,8 @@
+Tue Aug 18 18:03:42 1998  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * remote-rdi.c (arm_rdi_open): Pass serial device name to
+       Adp_OpenDevice, and include it in error reports.
+
 1998-08-18  Jason Molenda  (jsm@bugshack.cygnus.com)
 
        * configure.in: Add more header files to AC_CHECK_HEADERS.
index 0a1b695a036bfa11a65888b93d82c9f2ec726976..29119048c974d52c5b31c2663bb6d72e2fa9e683 100644 (file)
@@ -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;