From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8706 invoked by alias); 23 Sep 2010 17:17:12 -0000 Received: (qmail 8693 invoked by uid 22791); 23 Sep 2010 17:17:10 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.carallon.com (HELO mail.carallon.com) (95.177.28.122) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Sep 2010 17:17:06 +0000 X-MDAV-Processed: mail.carallon.com, Thu, 23 Sep 2010 18:17:04 +0100 Received: from [172.20.1.8] by mail.carallon.com (MDaemon PRO v11.0.3) with ESMTP id md50000631713.msg for ; Thu, 23 Sep 2010 18:17:02 +0100 X-Spam-Processed: mail.carallon.com, Thu, 23 Sep 2010 18:17:02 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 172.20.1.8 X-Return-Path: will_wagner@carallon.com X-Envelope-From: will_wagner@carallon.com X-MDaemon-Deliver-To: gdb@sourceware.org Message-ID: <4C9B8B8A.7030506@carallon.com> Date: Thu, 23 Sep 2010 17:17:00 -0000 From: William Wagner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: "'gdb@sourceware.org'" Subject: gdbserver 7.1 unable to read registers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2010-09/txt/msg00123.txt.bz2 Hello All, I have built up a cross toolchain for an arm target with an x64 host. I have compiled gdb/gdbserver 7.1. When I try to debug my application I can connect to gdbserver fine but I get an error when gdb tries to read the registers: Remote 'g' packet reply is too long: 00000000b07edbbe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c07ddbbe00000000a007004010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 As far as I can tell the error is because the target and the host disagree as to how many registers there are on the target, however I compiled gdb and gdbserver with the same options. How can I tell what register information gdb is expecting? Is there some either a compile time or runtime option I need to set with gdb so they agree on numbers of registers? Thanks Will -- ------------------------------------------------------------------------ Will Wagner will_wagner@carallon.com Development Manager Office Tel: +44 (0)20 7371 2032 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ------------------------------------------------------------------------