Modified Files:

ChangeLog remote-mips.c

        * remote-mips.c (mips_open): add code to handle baud rate.
This commit is contained in:
Kung Hsu 1994-08-10 17:37:56 +00:00
parent 8ea882c6df
commit d48d9a282a
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Aug 10 10:33:20 1994 Kung Hsu (kung@mexican.cygnus.com)
* remote-mips.c (mips_open): add code to handle baud rate.
Tue Aug 9 09:44:42 1994 Stu Grossman (grossman@cygnus.com)
* infrun.c (wait_for_inferior): Call target_resume() upon

View File

@ -1005,6 +1005,15 @@ device is attached to the target board (e.g., /dev/ttya).");
if (mips_desc == (serial_t) NULL)
perror_with_name (name);
if (baud_rate != -1)
{
if (SERIAL_SETBAUDRATE (mips_desc, baud_rate))
{
SERIAL_CLOSE (mips_desc);
perror_with_name (name);
}
}
SERIAL_RAW (mips_desc);
mips_is_open = 1;