From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12868 invoked by alias); 27 Oct 2005 11:59:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12806 invoked by uid 22791); 27 Oct 2005 11:59:11 -0000 Received: from shadow.prohost.de (HELO shadow.prohost.de) (216.71.84.228) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 11:59:11 +0000 Received: from mail.lipieda (p54A755F8.dip.t-dialin.net [84.167.85.248]) by shadow.prohost.de (8.11.6/8.11.6) with ESMTP id j9RBx8R04822 for ; Thu, 27 Oct 2005 13:59:09 +0200 Received: from [192.168.129.50] (unknown [192.168.129.50]) by mail.lipieda (Postfix) with ESMTP id 35BAC565A for ; Thu, 27 Oct 2005 13:59:06 +0200 (CEST) Message-ID: <4360C10E.70301@lipowsky.de> Date: Thu, 27 Oct 2005 11:59:00 -0000 From: Efim Monjak User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: arm-elf remote target and cpsr Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00155.txt.bz2 Hi all by the communikation with a arm-elf target with remote protokoll I see difference to ARM simulator: 1. the cpsr register value can be wieved in Insight if the target is simulator but it is always zero (by using only GDB also) if remote protokoll is used. I use our stub, possibly the value for cpsr register is on the wrong place. The responce to the command "g" has follow format: 26 times 32-bit values with all registers data. The R0 is the first and the cpsr is the last value. The values R0 to PC are displayed by GDB correct. Is the responce from stub wrong? thanks