projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build with GCC 8: strncpy -> memcpy
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
remote-utils.c
diff --git
a/gdb/gdbserver/remote-utils.c
b/gdb/gdbserver/remote-utils.c
index 2e4888a78db928bf7701dd7fe0b0b76d83dde411..2fdbb6f4bd7538596bf626b37b4d7c263815b32e 100644
(file)
--- a/
gdb/gdbserver/remote-utils.c
+++ b/
gdb/gdbserver/remote-utils.c
@@
-1173,7
+1173,7
@@
prepare_resume_reply (char *buf, ptid_t ptid,
CORE_ADDR addr;
int i;
-
strn
cpy (buf, "watch:", 6);
+
mem
cpy (buf, "watch:", 6);
buf += 6;
addr = (*the_target->stopped_data_address) ();
This page took
0.024148 seconds
and
4
git commands to generate.