From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8084 invoked by alias); 1 Sep 2004 21:00:02 -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 8014 invoked from network); 1 Sep 2004 21:00:01 -0000 Received: from unknown (HELO intrig.com) (66.160.152.62) by sourceware.org with SMTP; 1 Sep 2004 21:00:01 -0000 Received: from mail.intrig.com ([66.169.138.168]) by intrig.com for ; Wed, 1 Sep 2004 13:59:56 -0700 Received: by mail.intrig.com (sSMTP sendmail emulation); Wed, 1 Sep 2004 15:59:58 -0500 Date: Wed, 01 Sep 2004 21:00:00 -0000 From: Mark Beckwith To: Jay Monkman Cc: Jay Monkman , gdb@sources.redhat.com Subject: Re: bdi2000 and gdb (newbie question) Message-ID: <20040901205958.GJ14091@john.intrig.com> References: <20040826205715.GF6632@john.intrig.com> <20040826221713.GH14665@smoothsmoothie.com> <20040827162407.GI6632@john.intrig.com> <20040827175419.GD26065@smoothsmoothie.com> <20040901161829.GI14091@john.intrig.com> <20040901185741.GD9529@smoothsmoothie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040901185741.GD9529@smoothsmoothie.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-09/txt/msg00009.txt.bz2 On Wed, Sep 01, 2004 at 01:57:42PM -0500, Jay Monkman wrote: > On Wed, Sep 01, 2004 at 11:18:29AM -0500, Mark Beckwith wrote: > > error when I do the "target remote" command. Would this be possible? If > > so I would like to volunteer. > > That might be a limitation with the remote protocol. I don't think > there's any info in it declaring the architecture type. > > > So I'm debugging just fine now out of ram. However, when I set BREAKMODE > > HARD and try to step through flash, only one breakpoint gets hit, and then > > can't step or set another. The documentation I've read states that the > > breakpoint will be cleared once it is hit, but that doesn't seem to be > > What documentation? I've never seen it remove the breakpoint > permanently unless I delete it. Just something I read somewhere. > > happening. Also the delete command doesn't seem to clear the hardware > > breakpoint. I have to do a "ci" all the time from the bdi. Any > > suggestions on working with hardware breakpoints? > > Did you insert the breakpoint with gdb? Yes. > If you are running from RAM, you will probably have better success if > you use soft breakpoints. I know. Problem is I am stepping the through the flash code that is run on bootup to set up the ram. Mark -- Mark Beckwith, Intrig (http://www.intrig.com)