This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]