projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git]
/
gdb
/
remote.c
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 0f174df0e42f4631608a5a87e9a3647ab8854368..d3fef8ba12b440c4b283dec1875f3cb25909dd78 100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-302,6
+302,10
@@
device is attached to the remote system (e.g. /dev/ttya).");
SERIAL_RAW (remote_desc);
+ /* If there is something sitting in the buffer we might take it as a
+ response to a command, which would be bad. */
+ SERIAL_FLUSH_INPUT (remote_desc);
+
if (from_tty)
{
puts_filtered ("Remote debugging using ");
This page took
0.022954 seconds
and
4
git commands to generate.