From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7241 invoked by alias); 10 Jul 2003 17:05:33 -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 7195 invoked from network); 10 Jul 2003 17:05:29 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 10 Jul 2003 17:05:29 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AE1082B7B; Thu, 10 Jul 2003 13:05:29 -0400 (EDT) Message-ID: <3F0D9CD9.2070009@redhat.com> Date: Thu, 10 Jul 2003 17:05:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: Kevin Buettner , "Gdb@Sources.Redhat.Com" Subject: Re: mipsbe solib event breakpoint endian? References: <008001c34173$d6d20b40$0202040a@catdog> <1030708201312.ZM4704@localhost.localdomain> <0c4d01c346f4$c69d0690$0202040a@catdog> <1030710151522.ZM28386@localhost.localdomain> <0c5d01c346f8$aa558170$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00136.txt.bz2 > Looks like someone thinks the program counter is a 64 bit value.... Any >> > hints? > >> >> Do "maint print arch" in both to see what's changed. > > > Would you believe that they're exactly the same? I ran maint print arch on > both, copied to text files and diffed them. No differences. That sounds > almost impossible doesn't it? I had to do it twice before I believed it. > > cheers, Try `maint print {raw-,}registers' and `set debug target 1'. DanielJ's hunch about swapping the low/high words looks right. The existing MIPS code does evil stuff related to register raw size. It current stores 32 bit register values in the lower half of a 64 bit raw register, rather than the least significant half. But only sometimes and not consistently :-( Andrew