This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: --enable-profiling


In article <199910311504.HAA00905@ferrule.cygnus.com>,
Tom Tromey  <tromey@cygnus.com> wrote:
>Stan> BTW, will this work with djgpp and/or cygwin?  What will happen
>Stan> if you try to configure on those with --enabling-profiling?
>
>It might work or it might not.  I don't know.  My theory is that
>profiling gdb is a maintainer thing, and if somebody uses
>--enable-profiling and it doesn't build, they had better know what
>they are doing anyway.  We can always add tests for functions later.
>I could add them now if it is important; it is easy enough to do.
>Ordinarily I'm zealous about portability, but in this case I don't
>think it matters that much.

DJ Delorie and Stan Cox made some changes to support profiling in Cygwin
last year.  So, I think that this will probably "work" as in it will
compile and link but it probably won't give terribly useful results.
Windows didn't provide some of the timing stuff that was crucial for
getting accurate information.

-chris
-- 
cgf@cygnus.com
http://www.cygnus.com/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]