From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74720 invoked by alias); 2 Nov 2019 01:30:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 74609 invoked by uid 89); 2 Nov 2019 01:30:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:5c9d0ab, H*f:BN65183dGkF, H*f:sk:iHx3kog, H*f:sk:0d7d8ed X-HELO: mail-qt1-f181.google.com Received: from mail-qt1-f181.google.com (HELO mail-qt1-f181.google.com) (209.85.160.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 02 Nov 2019 01:30:15 +0000 Received: by mail-qt1-f181.google.com with SMTP id y39so15487839qty.0 for ; Fri, 01 Nov 2019 18:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+Fhbx3vLHhqO8VPptiOlxu1BpUbJRsdsWCM/ZH4pajc=; b=dzrQO2AaENAV/OfJGUK4CNh2Gu4oefDUTpe6DO7nkhkKOp8JwuEj/h6pLK7j7rCwib dC7fIewRpXjIj0GiRxq//a4+MXXwMKjgNF/Yn6s7sH/0VbJGWiPHHz72qFVuNxjVoHuc Op7uNCJ3DtLVnSCQpUjh5M4w+FxgTlDhmYnbgrwC6oOOdHnLLujnv6GyCMM1NbZAZChX DVIHQGKVuiAVXaRzxDHzLd6r33XA6u3hHog9GIOEm0bCAmHL0rLfcdkfSMyvpYFnLeNd u2AaQsQ+itimOCutUEl3s4jw7mpc2APVOVV/R+sUXkDAEfnEi649DBxPhAeLJCUl6JXh W/Ug== Return-Path: Received: from [192.168.15.21] (201-43-10-147.dsl.telesp.net.br. [201.43.10.147]) by smtp.gmail.com with ESMTPSA id 187sm5842869qkk.103.2019.11.01.18.30.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Nov 2019 18:30:07 -0700 (PDT) Subject: Re: gdb 8.3.1 truncated register in remote g packet To: Reinoud Koornstra Cc: gdb@sourceware.org References: <5c9d0ab7-4e03-ea43-ae54-5d2aed0728e0@linaro.org> <0d7d8ede-1cae-c0cc-be35-05443dc5f073@linaro.org> From: Luis Machado Message-ID: <1b1ebf11-3e2c-d5b3-6a5b-50ed54e791bc@linaro.org> Date: Sat, 02 Nov 2019 01:30:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00005.txt.bz2 Hi, On 11/1/19 6:05 PM, Reinoud Koornstra wrote: > Hi Luis, > The remote platform is arm32. Weirdly enough, when I use a gdb 7.7 > compiled only for x86_64, it does seem to work a bit better, no clue > exactly why. I'm not sure why an arm-targeted gdb would not complain about loading a x86-target vmlinux image. That sounds off. You could try with an older arm gdb to see if it works fine. If it does and the latest version doesn't, then we may need to investigate it. I checked the code and the truncation message is a result of the debugging stub sending less bytes than GDB expects for the register set. Just to confirm, does your arm target have floating point registers?