[U-Boot-Users] Debugging U-Boot Under DDD

Wolfgang Denk wd at denx.de
Mon Jul 12 21:17:58 CEST 2004


In message <20040712190824.57774.qmail at web50510.mail.yahoo.com> you wrote:
> This may be a trivial question, but I hope that someone can answer me.

It's not a trivial question, but a FAQ.

> While doing source level debugging under ddd, whenever I do step,
> stepi, next or nexti I see green instruction pointer jump all over the
> code. e.g. it would go to first line, than third line, than 7 line. If
> I look at machine code window, it is running in normal predictable way.

See http://www.denx.de/twiki/bin/view/DULG/DebuggingTricks

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
When it is incorrect, it is, at least *authoritatively* incorrect.
                                    - Hitchiker's Guide To The Galaxy




More information about the U-Boot mailing list