diff options
author | Stan Shebs <shebs@codesourcery.com> | 1998-08-19 01:27:46 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1998-08-19 01:27:46 +0000 |
commit | d9c02b1eb8e0e18cf9c43b95c3965b918d43b336 (patch) | |
tree | d318400f8ebe6aa2fb72720662519ee2b6fa9690 /gdb/remote-rdi.c | |
parent | 6ee3e5d66d9fe3f17a905baf44ecf7f28bd0f67a (diff) | |
download | gdb-d9c02b1eb8e0e18cf9c43b95c3965b918d43b336.zip gdb-d9c02b1eb8e0e18cf9c43b95c3965b918d43b336.tar.gz gdb-d9c02b1eb8e0e18cf9c43b95c3965b918d43b336.tar.bz2 |
* remote-rdi.c (arm_rdi_open): Pass serial device name to
Adp_OpenDevice, and include it in error reports.
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r-- | gdb/remote-rdi.c | 4 |
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; |