From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64404 invoked by alias); 9 Sep 2018 10:07:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 64386 invoked by uid 89); 9 Sep 2018 10:07:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=ratio, During, mingw, 1000000000 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 09 Sep 2018 10:07:28 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fywck-00033c-2B for gdb-patches@sourceware.org; Sun, 09 Sep 2018 06:07:26 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fywcj-00033W-UF for gdb-patches@sourceware.org; Sun, 09 Sep 2018 06:07:21 -0400 Received: from [176.228.60.248] (port=2518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fywcj-0000W8-FB for gdb-patches@sourceware.org; Sun, 09 Sep 2018 06:07:21 -0400 Date: Sun, 09 Sep 2018 10:07:00 -0000 Message-Id: <83ftyjq90h.fsf@gnu.org> From: Eli Zaretskii To: gdb-patches@sourceware.org In-reply-to: (message from Joel Brobecker on Wed, 5 Sep 2018 11:14:51 +0200 (CEST)) Subject: Re: [ANNOUNCEMENT] GDB 8.2 released! References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00225.txt.bz2 Building GDB 8.2 with MinGW GCC 7.3.0 on MS-Windows, I see a warning: CXX record-btrace.o In file included from exceptions.h:23:0, from utils.h:24, from defs.h:666, from record-btrace.c:22: 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)': ui-out.h:197: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); ~~~~~~~~~~~~~^~~~~~ record-btrace.c:792:35: note: 'asm_list.ui_out_emit_type<(ui_out_type)1>::m_uiout' was declared here gdb::optional asm_list; ^~~~~~~~ Is this a real problem? Also, a couple of places in remote-fileio.c use gettimeofday, which I believe is deprecated under the recent versions of Posix; the recommended replacement is clock_gettime. Running the built GDB on itself produces the following warnings: During symbol reading, unsupported tag: 'DW_TAG_unspecified_type'. During symbol reading, macro `WCHAR_MIN' redefined at d:/usr/include/wchar.h:70; original definition at build-gnulib/import/stdint.h:561. During symbol reading, macro `WCHAR_MAX' redefined at d:/usr/include/wchar.h:71; original definition at build-gnulib/import/stdint.h:563. Breakpoint 1 at 0x514740: file common/errors.c, line 51. During symbol reading, unsupported tag: 'DW_TAG_unspecified_type'. During symbol reading, const value length mismatch for 'std::ratio<1, 1000000000>::num', got 8, expected 0. During symbol reading, const value length mismatch for 'std::ratio<1, 1000000000>::den', got 8, expected 0. During symbol reading, Member function "~_Sp_counted_base" (offset 0x3f07e1) is virtual but the vtable offset is not specified. During symbol reading, cannot get low and high bounds for subprogram DIE at 0x40c43e. During symbol reading, cannot get low and high bounds for subprogram DIE at 0x40c71b. During symbol reading, Member function "~probe" (offset 0x438141) is virtual but the vtable offset is not specified. During symbol reading, Child DIE 0x4433a0 and its abstract origin 0x448aff have different parents. During symbol reading, Child DIE 0x44340f and its abstract origin 0x448aff have different parents. During symbol reading, No DW_FORM_block* DW_AT_call_value for DW_TAG_call_site child DIE 0x447010 [in module D:\gnu\gdb-8.2\gdb\gdb.exe]. During symbol reading, No DW_FORM_block* DW_AT_call_value for DW_TAG_call_site child DIE 0x447050 [in module D:\gnu\gdb-8.2\gdb\gdb.exe]. During symbol reading, Multiple children of DIE 0x448d3a refer to DIE 0x448a80 as their abstract origin. During symbol reading, Multiple children of DIE 0x448d78 refer to DIE 0x448a80 as their abstract origin. During symbol reading, DIE 0x44aa21 and its abstract origin 0x446e69 have different tags. During symbol reading, DIE 0x44b04f and its abstract origin 0x446e69 have different tags. During symbol reading, Child DIE 0x44ffb5 and its abstract origin 0x44efe3 have different tags. During symbol reading, Child DIE 0x4500cd and its abstract origin 0x448821 have different tags. Anything here I should worry about? Running "make -C gdb install-strip" fails: /bin/sh /d/gnu/gdb-8.2/install-sh -c -s ./contrib/gdb-add-index.sh \ d:/usr/test-gdb-8.2/bin/$transformed_name.exe d:\usr\bin\strip.exe:d:/usr/test-gdb-8.2/bin/_inst.8116_: file format not recognized It fails because Makefile attempts to invoke 'strip' on a shell script. I couldn't find any way to get past that except by hacking gdb/Makefile to remove the offending portion, then installing that shell script manually. How does this work on Posix hosts? Thanks.