GDB 9.0.90 available for testing
Christian Biesinger via gdb-patches
gdb-patches@sourceware.org
Mon Dec 16 18:52:00 GMT 2019
On Mon, Dec 16, 2019 at 11:23 AM Eli Zaretskii <eliz@gnu.org> wrote:
> 2. readline/colors.c fails to compile because it uses the likes of
> S_IXGRP and S_IXOTH, which aren't defined in MinGW. The solution
> is to patch readline/posixstat.h to add the missing defines (it
> tries to do so, but makes assumptions that don't do a perfect job).
I don't see either of those two used in colors.c?
> 5. A compilation warning in gdb/, which wasn't there in GDB 8.3:
>
> CXX record-btrace.o
> In file included from ../../gdb-9.0.90/gdb/exceptions.h:23,
> from ../../gdb-9.0.90/gdb/utils.h:24,
> from ../../gdb-9.0.90/gdb/defs.h:652,
> from ../../gdb-9.0.90/gdb/record-btrace.c:22:
> ../../gdb-9.0.90/gdb/ui-out.h: In function 'void btrace_insn_history(ui_out*, const btrace_thread_info*, const btrace_insn_iterator*, const btrace_insn_iterator*, gdb_disassembly_flags)':
> ../../gdb-9.0.90/gdb/ui-out.h:349:18: warning: 'asm_list.ui_out_emit_type<(ui_out_type)1>::m_uiout' may be used uninitialized in this function [-Wmaybe-uninitialized]
> m_uiout->end (Type);
> ~~~~~~~~~~~~~^~~~~~
> ../../gdb-9.0.90/gdb/record-btrace.c:779:35: note: 'asm_list.ui_out_emit_type<(ui_out_type)1>::m_uiout' was declared here
> gdb::optional<ui_out_emit_list> asm_list;
> ^~~~~~~~
>
> Any suggestions how to fix this?
I see this on Linux too, fwiw. I assumed everyone saw it...
> Please tell me how to go about fixing these problems on the release
> branch. Do we still maintain our separate copy of Readline, or do I
> need to report to its upstream maintainer? And what to do about
> libctf? how can I speed up the handling of those problems upstream?
I've had some success in sending a bug report/patch to upstream
readline. Not sure about ctf.
Christian
More information about the Gdb-patches
mailing list