Re: [Cegcc-devel] WCETRACE changes

2008-10-06 Thread Pedro Alves
A Tuesday 07 October 2008 01:43:57, Pawel Veselov escreveu: > On Mon, Oct 6, 2008 at 5:33 PM, Pedro Alves <[EMAIL PROTECTED]> wrote: > > > > > > On Tuesday 07 October 2008 00:49:05, Pawel Veselov wrote: > >> +#define TRACING(level) ((WCETRACE_DEBUGGER_GET() & level) || \ > > > > Can you rename TR

Re: [Cegcc-devel] WCETRACE changes

2008-10-06 Thread Pedro Alves
On Tuesday 07 October 2008 00:49:05, Pawel Veselov wrote: > +#define TRACING(level)  ((WCETRACE_DEBUGGER_GET() & level) || \ Can you rename TRACING into something else no so generic, please? Sounds like asking for trouble down the line. __WCETRACE_P ? __WCETRACING ? (_P is a semi-standard suf

Re: [Cegcc-devel] WCETRACE changes

2008-10-06 Thread Pawel Veselov
On Mon, Oct 6, 2008 at 5:33 PM, Pedro Alves <[EMAIL PROTECTED]> wrote: > > > On Tuesday 07 October 2008 00:49:05, Pawel Veselov wrote: >> +#define TRACING(level) ((WCETRACE_DEBUGGER_GET() & level) || \ > > Can you rename TRACING into something else no so generic, please? > Sounds like asking for

Re: [Cegcc-devel] WCETRACE changes

2008-10-06 Thread Pawel Veselov
Hi, here is the patch for it. Sank a lot of time trying to understand why the trace files had a malloc output in the beginning, overwriting the first line. Turned out tracing was called after epilogue code has closed the tracing. That would explain some of the changes in the diff. Thanks! Pawel

Re: [Cegcc-devel] [offtopic] libcoff vs. libelf?

2008-10-06 Thread Pedro Alves
A Monday 06 October 2008 19:51:29, Pawel Veselov escreveu: > Hi, > > This is [somewhat] off topic. I was wondering, does anybody know > whether there is a COFF analogue of libelf out there. I find traces of > "libcoff.h" or "libecoff.h" in various source trees, I guess that would be libbfd. htt

[Cegcc-devel] [offtopic] libcoff vs. libelf?

2008-10-06 Thread Pawel Veselov
Hi, This is [somewhat] off topic. I was wondering, does anybody know whether there is a COFF analogue of libelf out there. I find traces of "libcoff.h" or "libecoff.h" in various source trees, but nothing that would suggest that there is a library that knows how to dissect COFF data from a stream.

Re: [Cegcc-devel] functions that are declared but not defined

2008-10-06 Thread Vincent Torri
On Mon, 6 Oct 2008, Pedro Alves wrote: > On Monday 06 October 2008 07:03:01, Vincent Torri wrote: >> >> I wanted to use _mktemp, _locking, _get_osfhandle and SetHandleInformation >> with mingw32ce >> >> they are all declared: >> >> _mktemp, _locking and _get_osfhandle are in io.h >> SetHandleInf

Re: [Cegcc-devel] functions that are declared but not defined

2008-10-06 Thread Pedro Alves
On Monday 06 October 2008 07:03:01, Vincent Torri wrote: > > I wanted to use _mktemp, _locking, _get_osfhandle and SetHandleInformation > with mingw32ce > > they are all declared: > > _mktemp, _locking and _get_osfhandle are in io.h > SetHandleInformation is in winbase.h > > but they are not d

Re: [Cegcc-devel] functions that are declared but not defined

2008-10-06 Thread Vincent Torri
On Mon, 6 Oct 2008, Vincent R. wrote: > On Mon, 6 Oct 2008 08:03:01 +0200 (CEST), Vincent Torri > <[EMAIL PROTECTED]> wrote: >> Hey, >> >> I wanted to use _mktemp, _locking, _get_osfhandle and > SetHandleInformation >> with mingw32ce >> >> they are all declared: >> >> _mktemp, _locking and _get_

Re: [Cegcc-devel] functions that are declared but not defined

2008-10-06 Thread Pedro Alves
On Monday 06 October 2008 08:57:59, Vincent R. wrote: > _get_osfhandle : I wrote an article about this topic : > http://www.smartmobili.com/index.php?option=com_content&task=view&id=20&Itemid=42 > Basically I show how to retrieve the underlying file handle (HANDLE) from a > file descriptor Why ar

Re: [Cegcc-devel] functions that are declared but not defined

2008-10-06 Thread Vincent R .
On Mon, 6 Oct 2008 08:03:01 +0200 (CEST), Vincent Torri <[EMAIL PROTECTED]> wrote: > Hey, > > I wanted to use _mktemp, _locking, _get_osfhandle and SetHandleInformation > with mingw32ce > > they are all declared: > > _mktemp, _locking and _get_osfhandle are in io.h > SetHandleInformation is in