On Sun, Apr 24, 2016 at 03:50:41PM +0200, Timo Buhrmester wrote:
> Dump of assembler code for function mcount:
>0x0805045f <+0>: push %ebp
>0x08050460 <+1>: push %edi
>0x08050461 <+2>: push %esi
>0x08050462 <+3>: push %ebx
>0x08050463 <+4>: sub$0x18,%esp
I can no longer profile programs with gprof on i386, NetBSD 7.99.26.
The test case is a hello world program:
| #include
|
| int
| main(void)
| {
| puts("hello world");
| return 0;
| }
which is compiled using cc -g -pg -o helloworld helloworld.c
Here's what happens:
$ gdb ./hellowor