From patchwork Fri Mar 15 10:26:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chih-Min Chao X-Patchwork-Id: 1057054 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.b="kyki/bED"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44LSBk4dQtz9s3q for ; Sat, 16 Mar 2019 01:09:50 +1100 (AEDT) Received: from localhost ([127.0.0.1]:55736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4nWu-0006TO-Dj for incoming@patchwork.ozlabs.org; Fri, 15 Mar 2019 10:09:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4n3o-00081H-5Y for qemu-devel@nongnu.org; Fri, 15 Mar 2019 09:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4mpF-0001mG-8Z for qemu-devel@nongnu.org; Fri, 15 Mar 2019 09:24:43 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:37723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4mpE-0001it-VO for qemu-devel@nongnu.org; Fri, 15 Mar 2019 09:24:41 -0400 Received: by mail-pf1-x441.google.com with SMTP id 8so2945627pfr.4 for ; Fri, 15 Mar 2019 06:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BvLk6DZP5QpQ+qJNcnHdtcPffNKqdftl6440W8LQCEo=; b=kyki/bEDaQB1BmgvIkukL3A7/lTTqbDJM84AE6fTyZcekPz7eEDrmzSVdpOCAEm3IM i/EJddjk/6w6ZM8192AaLaIcEc5EIDE4BfkZakUl8AZrblxvAZUAIcM5u21AH3F7rI8l XI4Xw4jZq69GDVElwG3D6YpBYUL7+PlZBYE/biFSbGKQTO5vEqiyE+fNun5WMJbdhtx8 AbaizAM+zjryprlRvOD9m0rID6t0rMNMFGaaF44tK3xYj1x0jBAEkvXKEON2Rom1RNxW yk7zurUEx/xBh7tHKdpHkD+t+l6M+ysFOFoX4CFQFMDKQ6ToXOOM0xNB7vsWlzm3R9xx lduA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BvLk6DZP5QpQ+qJNcnHdtcPffNKqdftl6440W8LQCEo=; b=NNPwguyHG7m+GuJlgrY3kmbxjQn5Ctcg/ZsBQk15+ea3Cdl4y9v2/N7/U43pTIKgc0 6vt/DvgMhEEgiS1adbePEA5EhKJwGmn6jY/e8u4rB4Zmv9e94RW7oQ6eS7sIl7eZ4qGH 6RrbyUVj8Nx31elUf1cKap6iKLnrFaEtOIP8PM8ch1dXcYdwEC6+kyiFGV55pzpj3Z82 PLU/1KiYVFStJHPDZeZYgrGnPNZ1f6V03X2I/w1h1Akr395xlAnM4q9/z/dbVWrRaU/r lNlqv6Kw4iV3NTbngsYmkN2tOme4Ssw0Xk1BCDbmdSyEwTG5eLgmsdtIB158g/vPuArr YAag== X-Gm-Message-State: APjAAAW5BOewTo37FM1f1v9KmcBI61mdjW3gU4ShXzsju3vI/z9OJLIE CJg3cNgCKiW5Xq813ojJKGXlvnoORbN1Cw== X-Google-Smtp-Source: APXvYqwcLuihl53y2K6sy3933XRjYCHrFnKnHyttXxFimBBbwTmh33IBLMGfPucgwcRhB20NfWT0Hw== X-Received: by 2002:a17:902:d710:: with SMTP id w16mr3366678ply.198.1552645664114; Fri, 15 Mar 2019 03:27:44 -0700 (PDT) Received: from gamma06.internal.sifive.com ([64.62.193.194]) by smtp.gmail.com with ESMTPSA id f15sm2225401pfa.11.2019.03.15.03.27.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Mar 2019 03:27:43 -0700 (PDT) From: Chih-Min Chao To: qemu-devel@nongnu.org Date: Fri, 15 Mar 2019 03:26:56 -0700 Message-Id: <1552645619-18244-3-git-send-email-chihmin.chao@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552645619-18244-1-git-send-email-chihmin.chao@sifive.com> References: <1552645619-18244-1-git-send-email-chihmin.chao@sifive.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::441 Subject: [Qemu-devel] [PATCH v5 2/5] RISC-V: Add 64-bit gdb xml files. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chih-Min Chao , qemu-riscv@nongnu.org, Jim Wilson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Jim Wilson Signed-off-by: Jim Wilson Signed-off-by: Chih-Min Chao Reviewed-by: Alistair Francis --- configure | 1 + gdb-xml/riscv-32bit-fpu.xml | 6 +- gdb-xml/riscv-64bit-cpu.xml | 47 +++++++++ gdb-xml/riscv-64bit-csr.xml | 250 ++++++++++++++++++++++++++++++++++++++++++++ gdb-xml/riscv-64bit-fpu.xml | 56 ++++++++++ 5 files changed, 357 insertions(+), 3 deletions(-) create mode 100644 gdb-xml/riscv-64bit-cpu.xml create mode 100644 gdb-xml/riscv-64bit-csr.xml create mode 100644 gdb-xml/riscv-64bit-fpu.xml diff --git a/configure b/configure index aed149b..613dd2f 100755 --- a/configure +++ b/configure @@ -7521,6 +7521,7 @@ case "$target_name" in TARGET_BASE_ARCH=riscv TARGET_ABI_DIR=riscv mttcg=yes + gdb_xml_files="riscv-64bit-cpu.xml riscv-64bit-fpu.xml riscv-64bit-csr.xml" target_compiler=$cross_cc_riscv64 ;; sh4|sh4eb) diff --git a/gdb-xml/riscv-32bit-fpu.xml b/gdb-xml/riscv-32bit-fpu.xml index 32a1dee..1eaae91 100644 --- a/gdb-xml/riscv-32bit-fpu.xml +++ b/gdb-xml/riscv-32bit-fpu.xml @@ -44,7 +44,7 @@ - - - + + + diff --git a/gdb-xml/riscv-64bit-cpu.xml b/gdb-xml/riscv-64bit-cpu.xml new file mode 100644 index 0000000..b8aa424 --- /dev/null +++ b/gdb-xml/riscv-64bit-cpu.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/riscv-64bit-csr.xml b/gdb-xml/riscv-64bit-csr.xml new file mode 100644 index 0000000..6aa4bed --- /dev/null +++ b/gdb-xml/riscv-64bit-csr.xml @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/riscv-64bit-fpu.xml b/gdb-xml/riscv-64bit-fpu.xml new file mode 100644 index 0000000..794854c --- /dev/null +++ b/gdb-xml/riscv-64bit-fpu.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +