This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2 OBV] Fix build with GCC 8
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Cc: msebor at redhat dot com
- Date: Wed, 22 Nov 2017 12:21:38 +0000
- Subject: [PATCH 0/2 OBV] Fix build with GCC 8
- Authentication-results: sourceware.org; auth=none
Failed to build GDB and GDBserver with recent GCC trunk, due to some
warnings. These patches fix the warnings. Martin had his GDB patch
to fix the build failure, but don't post it here, so I am going to
commit my patches to unbreak the build, because I am GCC trunk to build
GDB mainline everyday.
Patches are tested on x86_64-linux.
*** BLURB HERE ***
Yao Qi (2):
Fix build with GCC 8: strncpy -> memcpy
Fix build with GCC 8: strncpy ->strcpy
gdb/ChangeLog | 9 +++++++++
gdb/cli/cli-decode.c | 4 ++--
gdb/cp-namespace.c | 2 +-
gdb/gdbserver/ChangeLog | 4 ++++
gdb/gdbserver/remote-utils.c | 2 +-
gdb/python/py-gdb-readline.c | 2 +-
6 files changed, 18 insertions(+), 5 deletions(-)
--
1.9.1