# Re: debug irregularly!

- From: Wolfgang Denk \<hidden\>
- Date: 2003-08-29 14:01:17 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2003/08/9389534
- Thread: https://ratatoskr.run/linuxppc-dev/2003/08/9389534/t.md

```text

In message <D73A25AA6E54D511AD74009027B1110F3C0A08@ORION> you wrote:
>
> Most likely you are compiling with optimization enabled.  This can cause the
> c code to execute in a different sequence than you wrote.

Right....

>           when i debug(debugger=BDI2000;cpu=8xx) U-boot in flash, it
> jumps irregularly as it running into "C" code, which always trouble me
> -<. How can i get a "normal" debug sequence? is it need to add some
> debug parameter into config.mk?

See also: 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@denx.de
Don't put off for tomorrow what you can  do  today,  because  if  you
enjoy it today you can do it again tomorrow.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
```
