This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: limit on the number of diag_printf(s) ????
- From: Rycerz Roman-G11565 <roman dot rycerz at motorola dot com>
- To: "Ecos-Discuss at Sources dot Com (ecos-discuss at sources dot redhat dot com)" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 12 Apr 2004 12:37:49 -0500
- Subject: RE: [ECOS] limit on the number of diag_printf(s) ????
The diag_printf(s) are in Redboot, in the single stepping code...
There are no printf's of any kind in the application
The failure occurs when insight tries to download into the target ram. It just returns immediately
And no code is loaded. I do not try any printf's during the download
Roman
-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Monday, April 12, 2004 11:26 AM
To: Rycerz Roman-G11565
Cc: Ecos-Discuss@Sources. Com (ecos-discuss@sources.redhat.com)
Subject: Re: [ECOS] limit on the number of diag_printf(s) ????
On Mon, 2004-04-12 at 09:44, Rycerz Roman-G11565 wrote:
> Hi
>
> I am trying to get a port of Redboot running, right now I am
> dealing
> with single stepping. At this point in the debug process I can no longer
> use a BDM (it permanently changes the core behavior) so I have resorted to
> some well placed diag_printf(s) to give me clues. If I only have 2 or less
> diag_printf(s) all works fine. as soon as I add the 3rd one, gdb (insight)
> will not load my application, it just comes right back....
>
>
> does anyone know what is the limiting factor here ????
There's no limit on such prints, so there must be something else
happening. Can you give more detail? exactly what are you trying to test/debug? What foes "will not load my application" mean?
What commands (to GDB) did you issue that failed?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss