projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/gdbserver/
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
remote-utils.c
diff --git
a/gdb/gdbserver/remote-utils.c
b/gdb/gdbserver/remote-utils.c
index 88ef34705202d845dcaf9492a9e2668b7d74e920..650ddf89101a66be009b57b59bf98f153e839640 100644
(file)
--- a/
gdb/gdbserver/remote-utils.c
+++ b/
gdb/gdbserver/remote-utils.c
@@
-725,7
+725,7
@@
putpkt_binary_1 (char *buf, int cnt, int is_notif)
char *p;
int cc;
- buf2 = xmalloc (
PBUFSIZ
);
+ buf2 = xmalloc (
strlen ("$") + cnt + strlen ("#nn") + 1
);
/* Copy the packet into buffer BUF2, encapsulating it
and giving it a checksum. */
This page took
0.034324 seconds
and
4
git commands to generate.