From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95308 invoked by alias); 12 Jul 2019 21:20:55 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 95297 invoked by uid 89); 12 Jul 2019 21:20:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:764 X-Spam-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Jul 2019 21:20:53 +0000 Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 659A9302BB21; Fri, 12 Jul 2019 23:20:51 +0200 (CEST) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 1B755413CC0E; Fri, 12 Jul 2019 23:20:51 +0200 (CEST) Message-ID: Subject: Re: [[RESEND & PING]PATCH V3 0/1] Add C-SKY support From: Mark Wielaard To: Mao Han Cc: elfutils-devel@sourceware.org Date: Fri, 12 Jul 2019 21:20:00 -0000 In-Reply-To: <20190712112244.GA2356@vmh-VirtualBox> References: <1539116e9ac2bfb0871481291ea0081287544e0f.camel@klomp.org> <20190711031142.GA824@vmh-VirtualBox> <9ac80d83eedfd1b4da9c5e876919982599a43e68.camel@klomp.org> <20190712112244.GA2356@vmh-VirtualBox> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-2.el7) Mime-Version: 1.0 X-Spam-Flag: NO X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00046.txt.bz2 On Fri, 2019-07-12 at 19:22 +0800, Mao Han wrote: > I've generated binaries/core with an upstream toolchain, however the > divzero testcase doesn't cause any coredump, so I used a zeroptr > testcase instead. > https://github.com/c-sky/test-result/blob/master/elfutils/zeroptr > https://github.com/c-sky/test-result/raw/master/elfutils/core.zeroptr The zeroptr binary does seem to be a real EM_CSKY one now. But the core.zeroptr still seems to be a core file for EM_RCE (or EM_MCORE). I assume the kernel generated the core file and it doesn't yet produce real EM_CSKY ELF core files? If you have any other way to generate a core file (maybe gdb/gcore can do it?) that would be really helpful. Thanks, Mark