From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18203 invoked by alias); 10 Jul 2003 15:15:29 -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 18196 invoked from network); 10 Jul 2003 15:15:29 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 10 Jul 2003 15:15:29 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h6AFFTH22759 for ; Thu, 10 Jul 2003 11:15:29 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h6AFFTI08270; Thu, 10 Jul 2003 11:15:29 -0400 Received: from localhost.localdomain (vpn50-28.rdu.redhat.com [172.16.50.28]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h6AFFSg26140; Thu, 10 Jul 2003 11:15:28 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h6AFFMU28387; Thu, 10 Jul 2003 08:15:22 -0700 Date: Thu, 10 Jul 2003 15:15:00 -0000 From: Kevin Buettner Message-Id: <1030710151522.ZM28386@localhost.localdomain> In-Reply-To: "Kris Warkentin" "Re: mipsbe solib event breakpoint endian?" (Jul 10, 11:06am) References: <008001c34173$d6d20b40$0202040a@catdog> <1030708201312.ZM4704@localhost.localdomain> <0c4d01c346f4$c69d0690$0202040a@catdog> To: "Kris Warkentin" , "Kevin Buettner" Subject: Re: mipsbe solib event breakpoint endian? Cc: "Gdb@Sources.Redhat.Com" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-07/txt/msg00127.txt.bz2 On Jul 10, 11:06am, Kris Warkentin wrote: > Finally got around to chasing this again and I've found the problem. I'm > hoping someone might be able to explain why I'm seeing what I'm seeing. > > GDB-5.2.1 targetting QNX MipsBE: > Breakpoint 4, enable_break () at ../../gdb/solib-svr4.c:939 > 939 if (!load_addr_found) > (top) n > 940 load_addr = read_pc () - tmp_bfd->start_address; > (top) p read_pc() > $1 = 1882417036 > (top) p /x read_pc() > $2 = 0x7033678c > (top) > > > GDB-HEAD targetting QNX MipsBE: > Breakpoint 3, enable_break () at ../../gdb/solib-svr4.c:1039 > 1039 load_addr = read_pc () - tmp_bfd->start_address; > (top) p read_pc() > $1 = 8084919611063009279 > (top) p /x read_pc() > $2 = 0x7033678ceeffffff > (top) > > 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. Kevin