From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15680 invoked by alias); 22 Oct 2016 23:40:30 -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 15609 invoked by uid 89); 22 Oct 2016 23:40:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=simulator, H*Ad:U*amodra, Hx-languages-length:2015, HTo:U*andrew X-HELO: mail-pf0-f195.google.com Received: from mail-pf0-f195.google.com (HELO mail-pf0-f195.google.com) (209.85.192.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 22 Oct 2016 23:40:19 +0000 Received: by mail-pf0-f195.google.com with SMTP id i85so12299340pfa.0 for ; Sat, 22 Oct 2016 16:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:to:to:subject:date:message-id :in-reply-to:references; bh=m01LNLr3bFEk1UALyk92YlOhAGa7hVdBN9kTc9KG1tE=; b=UPUz9E1ao8u+Hqzg+x0ydNMt2jDWDmvuAJBW6P1U1FMCT+Zm/dJLJ0POa53df3x+6/ d5XFPwK9RtozKoba0LQ9dHN1r37YC4nNKx0eZR0HczwRdEiOx1gTz68L9xsW0on8a4Vd 0GGe6SQwrjhTdBoIHGp3ajpRYj1fB8Qzvl9pI85dwVt/kkqlJKf/4cXPt3u8FNQGhU4l /UcYIhWHDk5TD/12fxU1avuufE2DrTCK8/GmgBHkbR+O1+kEqF2sbaTYbS4nwXqUqIgT 7RsYHsKqJMUtYen8VS6Ou+HzKGGcdppbvUGFzV/l3EUyK+q2ZlQrG5xEAO9BRFC+dzbZ kOog== X-Gm-Message-State: ABUngvcLHxWRf4+L2zWjHWTPc0rfucebioRZs+NZ9FFWSrv5Nt8FCZxnqNCvCXwQLNdLXw== X-Received: by 10.98.196.132 with SMTP id h4mr14732024pfk.169.1477179618019; Sat, 22 Oct 2016 16:40:18 -0700 (PDT) Received: from localhost (c-73-222-189-110.hsd1.ca.comcast.net. [73.222.189.110]) by smtp.gmail.com with ESMTPSA id e6sm14582914pfb.57.2016.10.22.16.40.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Oct 2016 16:40:17 -0700 (PDT) From: Palmer Dabbelt To: Andrew Waterman To: gdb-patches@sourceware.org To: amodra@gmail.com Subject: GDB port for RISC-V Date: Sat, 22 Oct 2016 23:40:00 -0000 Message-Id: <1477179592-32501-1-git-send-email-palmer@dabbelt.com> In-Reply-To: <1477179037-32066-1-git-send-email-palmer@dabbelt.com> References: <1477179037-32066-1-git-send-email-palmer@dabbelt.com> X-SW-Source: 2016-10/txt/msg00653.txt.bz2 This message is "In-Reply-To" a larger patch set that contains a whole binutils port for RISC-V. During our original patch submission it was suggested we send the patches relevant to GDB to this mailing list, which is why you might not have seen the v1 patches. While there are a few things left to do on our end, I'd like to submit a v2 of the patch set (the first submission to the GDB mailing list) just so we're all on the same page. The exact commit I'm sending is availiable here: https://github.com/riscv/riscv-binutils-gdb/commit/a949ca81ca7eca890e27d85d729203253d7862dd while the whole binutils port, including both the patches submitted to the binutils mailing list and the autogenerated files necessary for me to build the RISC-V port, is availiable here: https://github.com/riscv/riscv-binutils-gdb/tree/riscv-for-upstream-v2 Aside from review on this mailing list, there are a few problems pointed out by our first submission that haven't been addresses yet: * riscv-opc.h is autogenerated from a Python script. We will either clean up this script enough to be suitable for submission, or will write some CPP that produces a similar result. * I forgot to fix copyright dates, but I've already made it this far into the email... The plan is to only extend copyrights, and mark every committed file as changed in 2016 if it's not already. Additionally, there are a few issues on our github that are relevant, but I'm not sure if they block upstreaming: * https://github.com/riscv/riscv-gnu-toolchain/issues/124 : "sizeof(long double)" is 64-bit on RISC-V, which precludes the use of the Q extension for 128-bit floating point. This may cause an ABI-breakage. * https://github.com/riscv/riscv-gnu-toolchain/pull/136 : The path for ld.so might change. This would definately be an ABI change. Thanks to everyone who has provided feedback from the other list, hopefully this one will be as painless :). [PATCH 1/2] RISC-V GDB Port [PATCH 2/2] RISC-V GDB Simulator Port