* remote-rdi.c (arm_rdi_open): Pass serial device name to

Adp_OpenDevice, and include it in error reports.
This commit is contained in:
Stan Shebs 1998-08-19 01:27:46 +00:00
parent 6ee3e5d66d
commit d9c02b1eb8
2 changed files with 7 additions and 2 deletions

View 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.

View 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;