Re: 'recording' program execution.

2008-10-31 Thread muenchen
> What I'd prefer is a compiler flag that does basically the same thing, > ie: puts hooks in the code such that after each step, a special, user > defined function is called which takes as an argument the relevant > source code that is to be executed (and whether or not a subroutine is > being exit

Re: 'recording' program execution.

2008-10-31 Thread wuxi
[EMAIL PROTECTED] wrote: have a look at the flag -finstrument-functions for gcc. as far as I know, this could only record at function entry and return ? but sometimes recording all the "trace" of how program behaves is useful for debugging purpose. further, using a binary instrumentation too

Re: 'recording' program execution.

2008-10-31 Thread Richard Guenther
On Fri, Oct 31, 2008 at 10:18 AM, wuxi <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >> >> have a look at the flag -finstrument-functions for gcc. > > as far as I know, this could only record at function entry and return ? > > but sometimes recording all the "trace" of how program behaves i

Re: Including free compiler in a comercial software

2008-10-31 Thread David Edelsohn
Mike, Cristian is asking for help understanding the GPL, not quoting the GPL, which he could read himself in the GCC sources. Cristian The answer to your question depends on what you mean by "include GCC in my program." You describe creating both a framework of classes, header files and librari

Re: Account request

2008-10-31 Thread Ian Lance Taylor
"Dennis Wassel" <[EMAIL PROTECTED]> writes: > I am currently having my first patch to gfortran accepted, but was not > able to manipulate the PR in bugzilla. A helpful soul on the gfortran > list then pointed me to this address to ask whether I need a > gcc.gnu.org account to work with bugzilla. I

Apple, iPhone SDK NDA and GPLv3

2008-10-31 Thread Jack Howarth
Can anyone explain if the recent change in Apple dropping their NDA will have any impact on the GPLv3 issue with Apple and FSF? http://www.macgeekery.com/column/eloquent_apathy/apple_removes_iphone_sdk_nda The posted information here about FSF's views on GPLv3 and the iPhone SDK seemed to focu

Re: Apple, iPhone SDK NDA and GPLv3

2008-10-31 Thread Daniel Jacobowitz
On Fri, Oct 31, 2008 at 01:02:18PM -0400, Jack Howarth wrote: >Can anyone explain if the recent change in Apple dropping their > NDA will have any impact on the GPLv3 issue with Apple and FSF? Please discuss this on some more appropriate forum, not here. -- Daniel Jacobowitz CodeSourcery

Re: 'recording' program execution.

2008-10-31 Thread Edward Peschko
Richard, Thanks for the info... I'll try it out - I'm assuming that what you get out of this is very similar to what you get out of dtrace when you instrument a pid on entry and return.. Having a full trace is very helpful in tracking things down. I'd like to go further in c code even than what I

Re: global/df dropping a needed set?

2008-10-31 Thread DJ Delorie
> For m32c-elf with gcc.c-torture/execute/980707-1.c, global seems to be > deleting a set that's needed to set the exit code - i.e. it's the > first argument to exit(). There's also this suspicious message in the > global dump: More info: I've tracked this back to r138207, the gimple-tuples-bran

Build fails on i386-apple-darwin8.11.1

2008-10-31 Thread Andrew Pinski
I get the following build failure on i386-apple-darwin8.11.1. libtool: link: /Users/apinski/src/local/gcc/objdir/gcc/gcj -B/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/ -B/Users/apinski/src/local/gcc/objdir/gcc/ -ffloat-store -fomit-frame-pointer -Usun -g -O2 -o .libs/jv-co

gcc-4.4-20081031 is now available

2008-10-31 Thread gccadmin
Snapshot gcc-4.4-20081031 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20081031/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: Build fails on i386-apple-darwin8.11.1

2008-10-31 Thread Jack Howarth
On Fri, Oct 31, 2008 at 02:30:25PM -0700, Andrew Pinski wrote: > I get the following build failure on i386-apple-darwin8.11.1. > > > libtool: link: /Users/apinski/src/local/gcc/objdir/gcc/gcj > -B/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/ > -B/Users/apinski/src/local/gcc