projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* remote-es.c (es1800_child_ops): Don't declare it static.
[deliverable/binutils-gdb.git]
/
gdb
/
remote-es.c
diff --git
a/gdb/remote-es.c
b/gdb/remote-es.c
index d8f3da1faf42155b598d61c77689e71b02706d07..8d7ac35ebed476452d27c2e38861ed8883068121 100644
(file)
--- a/
gdb/remote-es.c
+++ b/
gdb/remote-es.c
@@
-371,10
+371,13
@@
es1800_open (name, from_tty)
perror_with_name ("fcntl serial");
}
perror_with_name ("fcntl serial");
}
- if (
SERIAL_SETBAUDRATE (es1800_desc, baud_rate)
)
+ if (
baud_rate != -1
)
{
{
- SERIAL_CLOSE (es1800_desc);
- perror_with_name (name);
+ if (SERIAL_SETBAUDRATE (es1800_desc, baud_rate))
+ {
+ SERIAL_CLOSE (es1800_desc);
+ perror_with_name (name);
+ }
}
SERIAL_RAW (es1800_desc);
}
SERIAL_RAW (es1800_desc);
@@
-2039,7
+2042,7
@@
es1800_child_detach (args, from_tty)
/* Define the target subroutine names */
/* Define the target subroutine names */
-st
atic st
ruct target_ops es1800_ops =
+struct target_ops es1800_ops =
{
"es1800", /* to_shortname */
/* to_longname */
{
"es1800", /* to_shortname */
/* to_longname */
@@
-2086,7
+2089,7
@@
Specify the serial device it is connected to (e.g. /dev/ttya).",
/* Define the target subroutine names */
/* Define the target subroutine names */
-st
atic st
ruct target_ops es1800_child_ops =
+struct target_ops es1800_child_ops =
{
"es1800_process", /* to_shortname */
/* to_longname */
{
"es1800_process", /* to_shortname */
/* to_longname */
This page took
0.023764 seconds
and
4
git commands to generate.