From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57089 invoked by alias); 14 Nov 2016 15:03:14 -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 57080 invoked by uid 89); 14 Nov 2016 15:03:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=2.3.0, dwarf2readc, dwarf2locc, dwarf2loc.c X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Nov 2016 15:03:13 +0000 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uAEEx01n083990 for ; Mon, 14 Nov 2016 10:03:11 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0b-001b2d01.pphosted.com with ESMTP id 26qdd3xqxr-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 14 Nov 2016 10:03:11 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 14 Nov 2016 15:03:09 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 14 Nov 2016 15:03:08 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9CB4417D805D for ; Mon, 14 Nov 2016 15:05:31 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uAEF38Jw30015512 for ; Mon, 14 Nov 2016 15:03:08 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id uAEF37Q3016047 for ; Mon, 14 Nov 2016 08:03:07 -0700 Received: from oc1027705133.ibm.com (dyn-9-152-212-182.boeblingen.de.ibm.com [9.152.212.182]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id uAEF37dh016044 for ; Mon, 14 Nov 2016 08:03:07 -0700 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Support DW_AT_data_bit_offset Date: Mon, 14 Nov 2016 15:03:00 -0000 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16111415-0020-0000-0000-0000027AB4DC X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16111415-0021-0000-0000-00003F079371 Message-Id: <1479135786-31150-1-git-send-email-arnez@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-14_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611140306 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00337.txt.bz2 This small series adds support for DW_AT_data_bit_offset, adds a test case for it, and fixes a bug that limits proper testing of this feature. Andreas Arnez (3): Fix PR12616 - gdb does not implement DW_AT_data_bit_offset Fix copy_bitwise() Optimize byte-aligned copies in copy_bitwise() gdb/dwarf2loc.c | 219 ++++++++++------------------- gdb/dwarf2read.c | 4 + gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 134 ++++++++++++++++++ 3 files changed, 209 insertions(+), 148 deletions(-) create mode 100644 gdb/testsuite/gdb.dwarf2/nonvar-access.exp -- 2.3.0