This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: bdi2000 and gdb (newbie question)
- From: Mark Beckwith <mark at intrig dot com>
- To: Jay Monkman <jtm at smoothsmoothie dot com>
- Cc: Jay Monkman <jtm-list-gdb at smoothsmoothie dot com>, gdb at sources dot redhat dot com
- Date: Wed, 1 Sep 2004 15:59:58 -0500
- Subject: Re: bdi2000 and gdb (newbie question)
- 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>
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)