From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4716 invoked by alias); 17 Nov 2005 22:48:22 -0000 Received: (qmail 4693 invoked by uid 22791); 17 Nov 2005 22:48:20 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 17 Nov 2005 22:48:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EcsYE-0006pC-MC; Thu, 17 Nov 2005 17:48:18 -0500 Date: Thu, 17 Nov 2005 22:48:00 -0000 From: Daniel Jacobowitz To: "Newman, Sarah R" Cc: gdb@sources.redhat.com Subject: Re: single stepping mips remote programs built with gcc 4.0 Message-ID: <20051117224818.GA26219@nevyn.them.org> Mail-Followup-To: "Newman, Sarah R" , gdb@sources.redhat.com References: <5990BE666D0436419054489CDD9D505409667C95@emss01m10.us.lmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5990BE666D0436419054489CDD9D505409667C95@emss01m10.us.lmco.com> User-Agent: Mutt/1.5.8i 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: 2005-11/txt/msg00361.txt.bz2 On Thu, Nov 17, 2005 at 02:23:17PM -0800, Newman, Sarah R wrote: > I built it with the default options, that good enough? Something like > "-g -O2" it seems. > > I doubt that mips32_next_pc is getting compiled in because I can set a > breakpoint at mips_next_pc but not mips32_next_pc. > mips_software_single_step never gets called in this sequence, should it > be? Could you show me a session transcript? If mips_software_single_step isn't placing the breakpoint, what is? mips32_next_pc was probably inlined; you can retry with -g -O0 if you want. -- Daniel Jacobowitz CodeSourcery, LLC