public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Breakpoints
@ 2000-06-25 14:20 Anthony Massa
  2000-06-25 14:27 ` [ECOS] Breakpoints Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Massa @ 2000-06-25 14:20 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: eCos

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

Lately when I download a file using Insight (by selecting the RUN icon) the
program will download and not stop at my break points.  I use File->Open to
bring up the image and source files.  I then set the break point in
cyg_user_start.  I hit the RUN icon to download the image and then it runs
without stopping at my break point.  Do you know what could cause this
behavior?

Thanks

[-- Attachment #2: winmail.dat --]
[-- Type: application/vnd.ms-tnef, Size: 1616 bytes --]

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

* [ECOS] Re: Breakpoints
  2000-06-25 14:20 [ECOS] Breakpoints Anthony Massa
@ 2000-06-25 14:27 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-06-25 14:27 UTC (permalink / raw)
  To: amassa; +Cc: eCos

Anthony Massa wrote:
> 
> Lately when I download a file using Insight (by selecting the RUN icon) the
> program will download and not stop at my break points.  I use File->Open to
> bring up the image and source files.  I then set the break point in
> cyg_user_start.  I hit the RUN icon to download the image and then it runs
> without stopping at my break point.  Do you know what could cause this
> behavior?

Sometimes there can be multiple cyg_user_start's floating around, and GDB
chooses the wrong one (it's a known problem), so be sure to set a
breakpoint on the cyg_user_start that actually gets executed.

Also try it on unoptimized code. Debugging optimized code can sometimes
(although fortunately rarely) fail.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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

end of thread, other threads:[~2000-06-25 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-25 14:20 [ECOS] Breakpoints Anthony Massa
2000-06-25 14:27 ` [ECOS] Breakpoints Jonathan Larmour

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 read-only IMAP folder(s) and NNTP newsgroup(s).