From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26164 invoked by alias); 6 Oct 2017 11:15:36 -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 26085 invoked by uid 89); 6 Oct 2017 11:15:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-it0-f67.google.com Received: from mail-it0-f67.google.com (HELO mail-it0-f67.google.com) (209.85.214.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Oct 2017 11:15:14 +0000 Received: by mail-it0-f67.google.com with SMTP id p138so5009079itp.2 for ; Fri, 06 Oct 2017 04:15:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=/Hl7znSdOiNLNhFl3nWR/hmivOPkgnE1LU/BOSzoMEU=; b=A7Kln5ltwpuCd7H2YyrSHvYLj44fsBNkJGkXvW7z/I3IFeuc+4kckMRB8gtBIxae/n myu3ZJlful4N4NAaLD0N+cvYRnFxaBIci2QbIzzRY8TFv88VvOSeqRCccEUjoGGPsQOv HCpI0ODBPqY8LOAclVSW6FGb2KRU/F+oJgXikzXaPyAjPAY074+MGZzD0c5NRZWpxNcp WtV3zyX4LmqGwlXArFygOCc8kVAYnEIjtvo9lcgsz8pAXXBBNlGTazDcVXagZt7eCo3A 3/Jthmp2l6ddZf0m6KmT/d0OEtTbxUiZOoQiJebnsmTmQDXXbbE5EzViKALiZLg0tDjl qgIw== X-Gm-Message-State: AMCzsaVT+trn76Dp1hVrwgb4Ss89cG99K3XWmbqcMLj0naJyBEV3SJ0g 19OuONgsGk6j4SnxOxdC5J7x4A== X-Google-Smtp-Source: AOwi7QBeuPgITXR0+qL0bUn2uVVXKdqv18u9ZURUOmXgLQmZjmVkvRmg97GmHv/XIgBJWBhRwT4KLA== X-Received: by 10.36.167.79 with SMTP id s15mr1837104iti.6.1507288507584; Fri, 06 Oct 2017 04:15:07 -0700 (PDT) Received: from [0.0.0.0] ([47.88.216.52]) by smtp.googlemail.com with ESMTPSA id o137sm612324iod.59.2017.10.06.04.15.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Oct 2017 04:15:06 -0700 (PDT) Subject: Re: [pushed] Fix more GDB build breakage on mingw32 (Re: [PATCH v5 2/3] Implement "set cwd" command on GDB) To: Pedro Alves , Sergio Durigan Junior Cc: gdb-patches@sourceware.org References: <20170912042325.14927-1-sergiodj@redhat.com> <20170929225852.21872-1-sergiodj@redhat.com> <20170929225852.21872-3-sergiodj@redhat.com> <874lrg5goz.fsf@redhat.com> <6520ea6a-6be7-db93-1d3e-1b156bc95564@redhat.com> <87mv5841qt.fsf@redhat.com> <87y3osxj6i.fsf@redhat.com> <871smkxaco.fsf@redhat.com> <22dfe787-0c70-b2c1-c1b0-752d2e712f42@redhat.com> <83lgkrzd23.fsf@gnu.org> <87k20bwiis.fsf@redhat.com> <21e02d72-ed9c-5e63-5981-00ec92908257@gmail.com> From: asmwarrior Message-ID: Date: Fri, 06 Oct 2017 11:15:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Thunderbird/56.0a1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-10/txt/msg00141.txt.bz2 On 10/6/2017 7:06 PM, Pedro Alves wrote: > On 10/06/2017 11:54 AM, Pedro Alves wrote: > >> Pushed as below. Thanks. > Pushed this as well. > > From a1b85d282f408dfd18a27539874846197f7e4044 Mon Sep 17 00:00:00 2001 > From: Pedro Alves > Date: Fri, 6 Oct 2017 11:58:56 +0100 > Subject: [PATCH] Fix more GDB build breakage on mingw32 > > With F23's mingw gcc 5.3.0, I'm seeing: > > i686-w64-mingw32-g++ -x c++ -std=gnu++11 -g3 -O0 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../../src/gdb/../zlib -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib/import -Ibuild-gnulib/import -I/home/pedro/src/expat/install-win32//include -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-format -Werror -c -o windows-nat.o -MT windows-nat.o -MMD -MP -MF ./.deps/windows-nat.o.Tpo ../../src/gdb/windows-nat.c > ../../src/gdb/windows-nat.c: In function 'void windows_create_inferior(target_ops*, const char*, const string&, char**, int)': > ../../src/gdb/windows-nat.c:2476:7: error: 'replace' is not a member of 'std' > std::replace (expanded_infcwd.begin (), expanded_infcwd.end (), > ^ > > gdb/Changelog: > 2017-10-06 Pedro Alves > > * windows-nat.c: Include . > --- > gdb/ChangeLog | 4 ++++ > gdb/windows-nat.c | 1 + > 2 files changed, 5 insertions(+) > > diff --git a/gdb/ChangeLog b/gdb/ChangeLog > index 0f92439..559c3b8 100644 > --- a/gdb/ChangeLog > +++ b/gdb/ChangeLog > @@ -1,3 +1,7 @@ > +2017-10-06 Pedro Alves > + > + * windows-nat.c: Include . > + > 2017-10-06 Yao Qi > > * configure.tgt (i386_tobjs): New variable. > diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c > index 1ef38fb..98c32d8 100644 > --- a/gdb/windows-nat.c > +++ b/gdb/windows-nat.c > @@ -42,6 +42,7 @@ > #include > #include > #endif > +#include > > #include "buildsym.h" > #include "filenames.h" Hi, Pedro Alves, thanks for verifying the changes. Aha, I also have this patch fixed in my local git repo, but I just forgot to submit it, because I have locally a lot of other changes. :-) Thanks. Yuanhui Zhang