This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2 OBV] Fix build with GCC 8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]