From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64775 invoked by alias); 9 Jan 2016 03:02:08 -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 63954 invoked by uid 89); 9 Jan 2016 03:02:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=outright, H*r:Sat, luis, Luis X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Jan 2016 03:02:07 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Websense Email Security Gateway with ESMTPS id D1548D2291417; Sat, 9 Jan 2016 03:02:03 +0000 (GMT) Received: from [10.100.200.34] (10.100.200.34) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server id 14.3.235.1; Sat, 9 Jan 2016 03:02:04 +0000 Date: Sat, 09 Jan 2016 03:02:00 -0000 From: "Maciej W. Rozycki" To: Luis Machado CC: , Subject: Re: [PATCH] Handle loading improper core files gracefully in the mips backend. In-Reply-To: <1452277948-25292-1-git-send-email-lgustavo@codesourcery.com> Message-ID: References: <1452277948-25292-1-git-send-email-lgustavo@codesourcery.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2016-01/txt/msg00149.txt.bz2 On Fri, 8 Jan 2016, Luis Machado wrote: > Maciej, do you have more input on additional incompatibilities that we need > to check for? Why do we get this far in the first place where e_machine != EM_MIPS? I think rather than adding additional checks here (unless they're needed for a valid MIPS ELF binary; but that would be a separate problem to fix) we should reject such a core file outright. Maciej