[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ binutils / gprof ] problems with file format
From: |
Christophe Godart |
Subject: |
[ binutils / gprof ] problems with file format |
Date: |
Wed, 25 Aug 2004 17:34:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6) Gecko/20040326 |
Hello,
I recently tried to use gprof on a sparc-solaris system and I noticed
that it when compiled for sparc-solaris, gprof was unable to process
gmon.out files which format are "magic".
Here are the tests I did:
I used binutils 2.15.
1) I compiled libiberty, bfd and gprof on a sparc-solaris system and did
the same on a i686-pc
2) I compiled the program to be tested for i486 and run it on a i486-pc.
3.a) I executed gprof on the i686-pc "gprof --file-format=magic my_file"
-> OK no prob; this works normally.
3.b) I did the same on the sparc "gprof --file-format=magic my_file" and
received this message:
"gmon.out: Error 0"
I tried several versions of binutils and still obtained the same error
on solaris althought everything went well on the pc. The problem is that
I have to use only the sparc to do my job...
Thanks and good luck :)
Christophe G.
- [ binutils / gprof ] problems with file format,
Christophe Godart <=