linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: debug irregularly!
@ 2003-08-29 13:56 Steven Blakeslee
  2003-08-29 14:01 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Blakeslee @ 2003-08-29 13:56 UTC (permalink / raw)
  To: 'Qsyang', linuxppc-embedded


Most likely you are compiling with optimization enabled.  This can cause the
c code to execute in a different sequence than you wrote.

-----Original Message-----
From: Qsyang [mailto:yangqs@163.com]
Sent: Friday, August 29, 2003 5:50 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: debug irregularly!



hi,there
          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?
          thanks for any help !
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Qsyang
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡yangqs@163.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-08-29


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debug irregularly!
  2003-08-29 13:56 debug irregularly! Steven Blakeslee
@ 2003-08-29 14:01 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2003-08-29 14:01 UTC (permalink / raw)
  To: Steven Blakeslee; +Cc: 'Qsyang', linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-29 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29 13:56 debug irregularly! Steven Blakeslee
2003-08-29 14:01 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).