From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94810 invoked by alias); 14 Jul 2015 08:52:46 -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 94796 invoked by uid 89); 14 Jul 2015 08:52:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f50.google.com Received: from mail-pa0-f50.google.com (HELO mail-pa0-f50.google.com) (209.85.220.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 14 Jul 2015 08:52:44 +0000 Received: by padck2 with SMTP id ck2so2437334pad.0 for ; Tue, 14 Jul 2015 01:52:42 -0700 (PDT) X-Received: by 10.66.63.70 with SMTP id e6mr11782244pas.62.1436863962747; Tue, 14 Jul 2015 01:52:42 -0700 (PDT) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id og1sm529349pdb.58.2015.07.14.01.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 01:52:42 -0700 (PDT) Message-ID: <55A4CDD1.6060907@gmail.com> Date: Tue, 14 Jul 2015 08:52:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jan Kratochvil , Pedro Alves CC: gdb-patches@sourceware.org, Andreas Arnez Subject: Re: ping: [testsuite patch] for: [PATCH] [PR corefiles/17808] i386: Fix internal error when prstatus in core file is too big References: <874ms18cyz.fsf@br87z6lw.de.ibm.com> <20150108164327.GA29029@host2.jankratochvil.net> <20150205073758.GA25305@host1.jankratochvil.net> <54D33C45.4010706@redhat.com> <20150214151231.GA29106@host1.jankratochvil.net> <54E33A8D.80504@redhat.com> <20150217165629.GA24936@host1.jankratochvil.net> In-Reply-To: <20150217165629.GA24936@host1.jankratochvil.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00389.txt.bz2 On 17/02/15 16:56, Jan Kratochvil wrote: > +# Wrongly built GDB complains by: > +# "..." is not a core dump: File format not recognized > +# As the provided test core has 64bit PRSTATUS i386 built GDB cannot parse it. > +# This is just a problem of the test care, real-world elf64-i386 file will have > +# 32bit PRSTATUS. One cannot prepare elf64-i386 core file from elf32-i386 by > +# objcopy as it corrupts the core file beyond all recognition. > +gdb_test "core-file ${corefile}" "\r\nwarning: Unexpected size of section `\\.reg/6901' in core file\\.\r\n.*Core was generated by `\[^\r\n\]*'\\.\r\nProgram terminated with signal SIGSEGV, Segmentation fault\\.\r\n.*" "core-file" Hi Jan, this new test fails on i686 buildbot slaves, (gdb) core-file /home/gdb-buildbot-2/fedora-x86-64-2/fedora-i686/build/gdb/testsuite/gdb.arch/i386-biarch-core.core "/home/gdb-buildbot-2/fedora-x86-64-2/fedora-i686/build/gdb/testsuite/gdb.arch/i386-biarch-core.core" is not a core dump: File format not recognized (gdb) FAIL: gdb.arch/i386-biarch-core.exp: core-file See more in https://sourceware.org/ml/gdb-testers/2015-q1/msg02825.html I can reproduce these fails on i686-pc-linux-gnu GDB on my x864_64-linux. Could you take a look? -- Yao (齐尧)