From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32637 invoked by alias); 28 Mar 2006 09:33:31 -0000 Received: (qmail 32629 invoked by uid 22791); 28 Mar 2006 09:33:30 -0000 X-Spam-Check-By: sourceware.org Received: from svr68.ehostpros.com (HELO svr68.ehostpros.com) (67.15.48.48) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Mar 2006 09:33:29 +0000 Received: from [59.95.12.187] (helo=titan.linsyssoft.com) by svr68.ehostpros.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1FOAZm-0003MB-S9 for gdb@sources.redhat.com; Tue, 28 Mar 2006 01:33:24 -0800 Received: from krypton (krypton [192.168.1.13] (may be forged)) by titan.linsyssoft.com (8.13.1/8.13.1) with ESMTP id k2S9I366014541 for ; Tue, 28 Mar 2006 14:48:03 +0530 Subject: Invalid update to pc in instruction From: Girish Shilamkar To: gdb@sources.redhat.com Content-Type: text/plain Date: Tue, 28 Mar 2006 14:34:00 -0000 Message-Id: <1143537953.4865.6.camel@krypton> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00183.txt.bz2 Hi, While running kgdb kernel I got following error: (gdb) p/x $pc $4 = 0xc00ef530 (gdb) n 0xc00ef530 in memcpy () at uaccess.h:363 363 in uaccess.h Invalid update to pc in instruction (gdb) disas $pc Dump of assembler code for function memcpy: 0xc00ef520 : stmdb sp!, {r0, r4, lr} 0xc00ef524 : subs r2, r2, #4 ; 0x4 0xc00ef528 : blt 0xc00ef5dc 0xc00ef52c : ands r12, r0, #3 ; 0x3 0xc00ef530 : pld [r1] 0xc00ef534 : bne 0xc00ef5fc 0xc00ef538 : ands r12, r1, #3 ; 0x3 0xc00ef53c : bne 0xc00ef62c I am using cross gdb-6.4 for Intel PXA270 (armv5l) processor. Kindly let me know in what scenario does the error msg "Invalid update to pc in instruction" is displayed ? Thanks & Regards, -Girish.