From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12006 invoked by alias); 21 Oct 2014 00:57:27 -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 11993 invoked by uid 89); 21 Oct 2014 00:57:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f170.google.com Received: from mail-pd0-f170.google.com (HELO mail-pd0-f170.google.com) (209.85.192.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 21 Oct 2014 00:57:25 +0000 Received: by mail-pd0-f170.google.com with SMTP id z10so195431pdj.15 for ; Mon, 20 Oct 2014 17:57:23 -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:cc:subject:date:message-id; bh=W+rbcQttr5MYsttuOYW5ZMES1XSS7umeBT+PHyY3NMI=; b=W9R500EvtvPgS7JP59lEU698xv9xrlFk5JUSnirUjh2C1FiV5jxwqz0kYvO2NcEV3G x1xXVk8fi6rIwAdPsVvS4h2ax1JKIafl5MTaf8Q2A+Of8ldbn/l2NSYwHOueOu3Y+fcH 671Rq2+mLPd+xOPP9Vcw1k3exY+YNIBfC25ieYY616/RlvoO8ZquUhwFFdbflfysTp4K sRNpuTE3b+Vw6mKbvfDEzjfkpioaoKWOn0CMhMq+W4iaaDxfp16cv8J8Gz3ybeXFu4HF W2oQDj6CyXGu1W8JmtX6gedgBTAOUnmG9Ij3guMWCaYcMRBgIFJ+ugxvp0JZQoIIUiuq IteQ== X-Gm-Message-State: ALoCoQl+tEmV3eQ9ZlDnMGtcNal7Ij3QGI+f9IwJ1SzKret4B3LFahdqQV88GSzby/HzdSUEg3L6 X-Received: by 10.68.231.33 with SMTP id td1mr7204010pbc.133.1413853043536; Mon, 20 Oct 2014 17:57:23 -0700 (PDT) Received: from kamensky-w530.cisco.com.net ([24.6.79.41]) by mx.google.com with ESMTPSA id g15sm10230692pdm.68.2014.10.20.17.57.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Oct 2014 17:57:22 -0700 (PDT) From: Victor Kamensky To: gdb-patches@sourceware.org Cc: victor.kamensky@linaro.org Subject: [PATCH 0/5] arm: set of big endian related fixes for armeb (v7) Date: Tue, 21 Oct 2014 00:57:00 -0000 Message-Id: <1413853021-4393-1-git-send-email-victor.kamensky@linaro.org> X-SW-Source: 2014-10/txt/msg00526.txt.bz2 Hi Folks, Please find five patches following this cover letter that address several big endian related issues for ARM V7 target. Problems were discovered by running gdb/testsuite on armeb (big endian) target rootfs/kernel and comparing results from the same source against arm (little endian). Note there are several failures remain that are not addressed by this series. I.e valgrind related test cases all failed, because valgrind does not support armeb target. There are other failures in a bit obscure places like gdb.dwarf2/implptrpiece.exp, gdb.python/py-value-cc.exp, but over all number of passes/failures significantly improved in armeb case. Please note it is my first attempt to contribute into gdb. If I missed something please guide me how I can correct that. Thanks, Victor Victor Kamensky (5): ARM: plt_size functions need to read instructions in right byte order ARM: extract_arm_insn function need to read instrs correctly in be8 case ARM: arm_breakpoint should be little endian form in case for arm BE8 ARM: read_pieced_value do big endian processing only in case of valid gdb_regnum ARM: asm-source.exp link options in case of armv7b target bfd/ChangeLog | 9 +++++++ bfd/elf32-arm.c | 48 +++++++++++++++++++++++++++++++++--- gdb/ChangeLog | 16 ++++++++++++ gdb/arm-linux-tdep.c | 2 +- gdb/arm-tdep.c | 2 +- gdb/dwarf2loc.c | 30 +++++++++++----------- gdb/testsuite/ChangeLog | 4 +++ gdb/testsuite/gdb.asm/asm-source.exp | 4 +++ 8 files changed, 94 insertions(+), 21 deletions(-) -- 1.8.1.4