From d9c02b1eb8e0e18cf9c43b95c3965b918d43b336 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 19 Aug 1998 01:27:46 +0000 Subject: * remote-rdi.c (arm_rdi_open): Pass serial device name to Adp_OpenDevice, and include it in error reports. --- gdb/ChangeLog | 5 +++++ gdb/remote-rdi.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e884f4e..dc715f8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 18 18:03:42 1998 Stan Shebs + + * 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. 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; -- cgit v1.1