This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Set breakpoint on the right line


> > I think you are right, but can you describe the error you are getting
> > with arm-none-eabi?
> 
> Sure, the fail is shown as below:
> 
> continue^M
> Continuing.^M
> ^M
> *** EXIT code 0^M
> [Inferior 1 (Remote target) exited normally]^M
> (gdb) FAIL: gdb.base/watchpoint-hw-hit-once.exp: continue to break-at-exit (the program exited)
> 
> I also copy it in the commit log.  Patch is pushed in.

I actually didn't pre-approve, but never mind :-).

I think I understand, now. The problem using the first break-at-exit
line was that the watchpoint would be triggering at the same location
the breakpoint was inserted. So the "continue" test right after would
never hit that breakpoint. If my understanding is correct, the patch
is officially approved :).

-- 
Joel


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