It looks like the assembler stub in src/profile/profile/profile.h is
broken. Does anyone understand enough ARM assembler to figure out what
is going on ?

Note that there's also a weird construction with macros.

The assembler stub is supposed to call mcount_internal with some stack
pointer information as parameters.

        Danny

On Tue, 2008-08-26 at 22:13 +0200, Danny Backx wrote:
> Ok, I'm far enough that I can do a little debugging with my new PDA.
> 
> I can confirm that -pg doesn't seem to work for the mingw32ce
> environment : a test program compiles and runs, but doesn't leave a
> gmon.out file behind when it stops.
> 
> I've added a couple of MessageBoxW(), and oddly the one in _mcleanup()
> doesn't appear to be called, which explains why the gmon.out file
> doesn't get generated.
> 
> A simplistic test with atexit() shows that the mechanism does work.
> Looking further ...
> 
> BTW does anyone know how to keep a WinCE 6 PDA from asking whether it is
> allowed to execute a new executable ?
> 
>       Danny
> 
> On Fri, 2008-08-22 at 22:04 +0200, Danny Backx wrote:
> > It used to work at some point, see the documentation on
> > http://cegcc.sf.net .
> > 
> > Unfortunately I can't test right now because I am just switching PDA's
> > and not everything is set up yet. (Need to upgrade a few things and I
> > won't have time during this weekend.)
> > 
> >     Danny
> > 
> > On Sat, 2008-08-23 at 04:55 +1000, John Wharington wrote:
> > > Well, that's the version I downloaded, the tarball is called 4.1.2
> > > (found a link to a build someone made earlier this year).
> > > 
> > > But in any case, I also tried it with 0.51 and it didn't work then
> > > either.  Could it be that profiling only works under cegcc not
> > > mingw32ce?
> > > 
> > > On Fri, 2008-08-22 at 09:08 +0200, [EMAIL PROTECTED] wrote:
> > > > Hi,
> > > > 
> > > > You mean arm-mingw32ce version 4.1.0 because I there is no  4.1.2...
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Fri, 22 Aug 2008 04:38:01 +1000, John Wharington <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > Hi,
> > > > > 
> > > > > I've been unable to get any profile build (-pg) of applications to 
> > > > > run.
> > > > >  arm-mingw32ce version 4.1.2
> > > > > 
> > > > > Is this broken?
> > > > > 
> > > > > 
> > > > > John Wharington
> > > > > 
> > > > > 
> > > > > -------------------------------------------------------------------------
> > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > > > challenge
> > > > > Build the coolest Linux based applications with Moblin SDK & win great
> > > > > prizes
> > > > > Grand prize is a trip for two to an Open Source event anywhere in the
> > > > > world
> > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > _______________________________________________
> > > > > Cegcc-devel mailing list
> > > > > Cegcc-devel@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> > > > 
> > > 
> > > 
> > > -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great 
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the 
> > > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > Cegcc-devel mailing list
> > > Cegcc-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/cegcc-devel
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to