This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Question about set breakpoint
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb at sources dot redhat dot com, Lan dot Zhang at Zoran dot com,mec dot gnu at mindspring dot com
- Date: Fri, 16 Jul 2004 17:16:31 -0400 (EDT)
- Subject: RE: Question about set breakpoint
Hi Lan,
> I set up two breakpoint, both of them are function call, first is
> PSPRINTF which is kind of like printf. And second is a function named
> PersistentMemoryDump. The first one works ok, but second one not. The
> different between two is that, printf have somd arguments need to pass,
> so there are some other assembling code before 'bl', so the address for
> breakpoint is not a 'bl' command; but second one is different, the
> breakpoint hit the 'bl' instruction. After stopped, the arm will
> restart.
>
> I checked assembling code and found the first asm code is 'STMFD'. It
> looks like the stub code replaces the STMFD, and the real lr got lost.
> (I am totally lost my mind.)=20
I looked at your typescript file, but I'm not an expert on either
the remote protocol or on ARM. So I can't help you with this.
Perhaps someone else can. Sorry.
Sorry,
Michael C