This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add missing sentinel 'char *' casts in concat/reconcat calls
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 21 Apr 2016 06:39:32 -0400
- Subject: [binutils-gdb] Add missing sentinel 'char *' casts in concat/reconcat calls
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b36cec19e826c19648964576ef2d20d63f99e888 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b36cec19e826c19648964576ef2d20d63f99e888
Add missing sentinel 'char *' casts in concat/reconcat calls
The wildebeest-debian-wheezy-i686 buildslave's build is broken due to:
../../binutils-gdb/gdb/python/python.c: In function void _initialize_python():
../../binutils-gdb/gdb/python/python.c:1709:36: error: missing sentinel in function call [-Werror=format]
Reproduced on Fedora 23 by sticking a few:
#undef NULL
#define 0
in build/gdb/build-gnulib/{stddef|signal|stdio}.h. Hopefully this
caught all instances.
gdb/ChangeLog:
2016-04-21 Pedro Alves <palves@redhat.com>
* dwarf2read.c (try_open_dwop_file, open_dwo_file)
(file_file_name, file_full_name): Add char * cast to sentinel in
concat/reconcat calls.
* event-top.c (top_level_prompt): Likewise.
* guile/guile.c (initialize_scheme_side): Likewise.
* linux-tdep.c (linux_fill_prpsinfo): Likewise.
* macrotab.c (macro_source_fullname): Likewise.
* main.c (get_init_files, captured_main): Likewise.
* psymtab.c (psymtab_to_fullname): Likewise.
* python/python.c (_initialize_python)
(gdbpy_finish_initialization): Likewise.
* source.c (symtab_to_fullname): Likewise.
- Follow-Ups:
- Failures on Fedora-i686, branch master *** BREAKAGE ***
- Failures on RHEL-s390x-m64, branch master *** BREAKAGE ***
- Failures on AIX-POWER7-plain, branch master *** BREAKAGE ***
- Failures on Fedora-s390x-m64, branch master *** BREAKAGE ***
- Failures on Fedora-x86_64-cc-with-index, branch master
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
- Failures on Debian-i686, branch master
- Failures on Fedora-x86_64-native-gdbserver-m32, branch master
- Failures on Debian-x86_64-native-extended-gdbserver-m64, branch master
- Failures on Debian-i686-native-extended-gdbserver, branch master
- Failures on Fedora-ppc64be-cc-with-index, branch master
- Failures on Fedora-ppc64be-m64, branch master
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master
- Failures on Debian-s390x-native-gdbserver-m64, branch master *** BREAKAGE ***
- Failures on Debian-s390x-m64, branch master *** BREAKAGE ***
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch master *** BREAKAGE ***