projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e07e6e5
)
2009-06-22 H.J. Lu <hongjiu.lu@intel.com>
author
H.J. Lu
<hjl.tools@gmail.com>
Mon, 22 Jun 2009 16:03:33 +0000
(16:03 +0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Mon, 22 Jun 2009 16:03:33 +0000
(16:03 +0000)
PR server/10306
* remote.c (getpkt_or_notif_sane_1): Initialize val to -1.
gdb/ChangeLog
patch
|
blob
|
history
gdb/remote.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 430cbd8bfbbfe9b024ac4ebef4e48ed9304b414d..0ef577ec59ec5c14351ca79311200a65f0aa5b63 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2009-06-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR server/10306
+ * remote.c (getpkt_or_notif_sane_1): Initialize val to -1.
+
2009-06-21 Michael Snyder <msnyder@vmware.com>
* inferior.h: Update ancient comment.
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 3fb7a70816f5df279741f8c59ed1b15165710fd4..6e8f69ccd4e2979e66d1f8ca8917d1e75bd0039b 100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-6380,7
+6380,7
@@
getpkt_or_notif_sane_1 (char **buf, long *sizeof_buf, int forever,
int c;
int tries;
int timeout;
- int val;
+ int val
= -1
;
/* We're reading a new response. Make sure we don't look at a
previously cached response. */