From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121351 invoked by alias); 13 Jan 2020 16:54:17 -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 121343 invoked by uid 89); 13 Jan 2020 16:54:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Jan 2020 16:54:15 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 00DGs34W011729 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2020 11:54:08 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 00DGs34W011729 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1578934449; bh=hWOa/CpEgBdUIrMyHoQiVQpPkKSS0s0CNRCqM3g3+Aw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=mPPNTPEpuy/IPwuMHzIi/JeX1y2gVeGMMzsPFyXB5Sgxm6dnAbqB7FtfM9ncgblDc EalC+wgYls52zptWtmGbMirMmT/bb0r11SN1k+7kilidZK14IJut4xaMbTvIS3sl5n LC2b7O0beEXTG00nYsiUP0SOB0T7m7Uj+r0HOjjU= Received: from [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 3F6561E4B2; Mon, 13 Jan 2020 11:54:03 -0500 (EST) Subject: Re: [PATCH] gdb: use std::vector instead of alloca in core_target::get_core_register_section To: Andreas Schwab Cc: Christian Biesinger , gdb-patches References: <20200112201729.489317-1-simon.marchi@polymtl.ca> <2131f829-e84a-c45b-06b5-e3ec79a3344c@polymtl.ca> <87v9pfwua8.fsf@igel.home> From: Simon Marchi Message-ID: <222fdd7b-e706-6781-2c74-140e8ba17f6e@polymtl.ca> Date: Mon, 13 Jan 2020 17:03:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <87v9pfwua8.fsf@igel.home> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00329.txt.bz2 On 2020-01-13 5:00 a.m., Andreas Schwab wrote: > On Jan 12 2020, Simon Marchi wrote: > >> Hmm, I don't really know. I presumed that it's just that this warning was enabled in gcc >> by default on m68k, > > No target alters the warning's default. That must be your local > customization. Ok, then I have no clue why I see this only on m68k. For reference, when I use this command line (where I removed all -W flags except -Werror), I still see the warning: m68k-linux-gnu-g++ -x c++ -g -O2 -I. -I/binutils-gdb/gdb -I/binutils-gdb/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I/binutils-gdb/gdb/../include/opcode -I/binutils-gdb/gdb/../readline/readline/.. -I/binutils-gdb/gdb/../zlib -I../bfd -I/binutils-gdb/gdb/../bfd -I/binutils-gdb/gdb/../include -I../libdecnumber -I/binutils-gdb/gdb/../libdecnumber -I/binutils-gdb/gdb/../gnulib/import -I../gnulib/import -I/binutils-gdb/gdb/.. -pthread -Werror -c -o corelow.o -MT corelow.o -MMD -MP -MF ./.deps/corelow.Tpo /binutils-gdb/gdb/corelow.c Simon