From 85f0dd3ce8b249638e00f9e43153b712705a3347 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 10 Feb 2020 15:13:42 +0100 Subject: [gdb] Fix -Wstrict-null-sentinel warnings When passed in CXXFLAGS, -Wstrict-null-sentinel triggers twice in a gdb/gdbserver build. Fix the two occurrences. Build and reg-tested on x86_64-linux. gdb/ChangeLog: 2020-02-10 Tom de Vries * dwarf2/read.c (process_psymtab_comp_unit_reader): Cast concat NULL sentinel to char *. gdbsupport/ChangeLog: 2020-02-10 Tom de Vries * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. --- gdbsupport/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdbsupport/ChangeLog') diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index 6ea2f2c..3225bef 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,7 @@ +2020-02-10 Tom de Vries + + * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. + 2020-01-24 Christian Biesinger * thread-pool.c (set_thread_name): Add an overload for the NetBSD -- cgit v1.1