From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94525 invoked by alias); 12 Apr 2016 13:37:22 -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 94512 invoked by uid 89); 12 Apr 2016 13:37:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=remotely, 75 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 12 Apr 2016 13:37:11 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1apyVB-0001Lz-7X from Luis_Gustavo@mentor.com ; Tue, 12 Apr 2016 06:37:09 -0700 Received: from [172.30.4.230] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Tue, 12 Apr 2016 06:37:08 -0700 Reply-To: Luis Machado Subject: Re: PR13984 - gdb stops controlling a thread after "Remote 'g' packet reply is too long: ..." error message References: <570C14D4.3030600@codesourcery.com> To: Orgad Shaneh CC: From: Luis Machado Message-ID: <570CFA04.3070109@codesourcery.com> Date: Tue, 12 Apr 2016 13:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.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: 2016-04/txt/msg00242.txt.bz2 On 04/12/2016 12:16 AM, Orgad Shaneh wrote: > Hi, > > On Tue, Apr 12, 2016 at 12:19 AM, Luis Machado > wrote: >> Hi, >> >> On 04/10/2016 09:49 AM, Orgad Shaneh wrote: >>> >>> Please review the attached patch. It was inspired by the patch >>> attached to the bug report. >> >> >> Usually, when you receive that message from GDB it because your target >> reported an incorrect register set as a 'g' reply. >> >> The correct solution is to fix your remote target to reply the proper >> register set. >> >> From the description, it sounds like QEMU needs to be adjusted. >> > > Thanks for your reply. > > I don't use QEMU. I did not describe my use case in the bug report, > did just now. > I got that from the bug report. > I got this message when I tried to remotely debug a > mips64-octeon-linux gdbserver 6.8 with GDB >= 7.5. > > GDB <= 7.4.1 works well, but with 7.5 and up I receive this message > and the debugger stops functioning. > I suppose GDB 7.5 is slightly incompatible with older gdbserver versions. What kind of target description does gdbserver return in this case (set debug remote 1)?