From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97859 invoked by alias); 11 Apr 2019 22:42:19 -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 97592 invoked by uid 89); 11 Apr 2019 22:42:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=alignexp, align.exp, UD:align.exp X-HELO: mail-wr1-f67.google.com Received: from mail-wr1-f67.google.com (HELO mail-wr1-f67.google.com) (209.85.221.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Apr 2019 22:42:17 +0000 Received: by mail-wr1-f67.google.com with SMTP id j9so9404724wrn.6 for ; Thu, 11 Apr 2019 15:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UWubR1WjvaIihZ7LU+Svo6N8D/45T0z8blvw6gwpShs=; b=CaOamS3kKQnDVfsCGUs8P7nqeX2fwi6aaIeb54aWCf05RZB76Ac/HeZWOAHwVKPdpK DeWzdWG9zsjIRZwV+PrVlYaorzl/0o2po21NX1B/4kU7VVq1K8BUTb3+xMX4qbUkoLjt KNyjQbu/C5bl3MAQ2CVOV9sALyNdvhDWn/FpoxvN5z8c+0vZ9aozlos6ORAdoQZ3Izuh Ag47DKCO9sDCQvtnIYGrLKYhhOuqT2aXG9q9h6n9mnBbuiEZ5smkg1Z0wkKcTx13uNjO T8hYZX2KnmR+pqBUxSwodZNJAQsGtiVb8WvpB2bj0kAJKsBlB2Ave1g49MNlDLqXP/xG 9bMA== Return-Path: Received: from localhost (host86-164-133-98.range86-164.btcentralplus.com. [86.164.133.98]) by smtp.gmail.com with ESMTPSA id h84sm9993658wmf.15.2019.04.11.15.42.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Apr 2019 15:42:14 -0700 (PDT) Date: Thu, 11 Apr 2019 22:42:00 -0000 From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Jim Wilson , John Baldwin , Palmer Dabbelt , Tom Tromey Subject: Re: [PATCH 0/2] More type_align fixes Message-ID: <20190411224213.GD2737@embecosm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Fortune: Too much is not enough. X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00214.txt.bz2 * Andrew Burgess [2019-04-07 22:37:53 +0100]: > This short series finally removes the riscv_type_alignment function > and replaces it with use of the common type_align function. > > I found one more fix that was needed in order to allow this change > (patch #1), then the switch over is simple (patch #2). > > -- > > Andrew Burgess (2): > gdb: Fix alignment computation for structs with only static fields > gdb/riscv: Remove riscv_type_alignment function I've pushed both of these patches now. Thanks, Andrew > > gdb/ChangeLog | 12 ++++++++ > gdb/gdbtypes.c | 12 ++++---- > gdb/riscv-tdep.c | 60 ++++++++-------------------------------- > gdb/testsuite/ChangeLog | 5 ++++ > gdb/testsuite/gdb.base/align.exp | 24 ++++++++++++---- > 5 files changed, 53 insertions(+), 60 deletions(-) > > -- > 2.14.5 >