IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New You might have missed why I asked that...
It wasn't a recommendation of what to do, it was a question about how an unknown function call could slip into 11 lines without obvious function calls.

Cheers,
Ben
Computer Science is no more about computers than astronomy is about telescopes.
-- Edsger Wybe Dijkstra (1930-2002)
New Ah, no I don't think that's it
The function call HPUX 11.x claims is being called *is* actually in the program, but I can set a breakpoint in the program compiled for debugging and very clearly see it's being called from a completely different "known" function. The only thing I can think is that HP's implementation is totally mis-reading the call stack, or the compiler is (for some reason) inserting the wrong profiling instrumentation, or something like that.

It does seem to work much better under AIX 4.3, but still not perfectly - but in this case the weird function call is truly an unknown call, and in *this* case I can believe it may well be a system call inserted by the compiler implementing some sort of profiling statistical monitoring function. It otherwise does seem to give a more accurate call stack, although working under AIX is (usually) more painful than working under HPUX. Fer crying out loud, AIX still comes with dbx. Even HP eventually adopted gdb, contributing a terminal interface, rather than trying to maintain xdb or dde.
The lawyers would mostly rather be what they are than get out of the way even if the cost was Hammerfall. - Jerry Pournelle
     Profilers? - (wharris2) - (8)
         google gprof replacement got - (boxley) - (4)
             From readme, looks like it's memory only - (wharris2)
             Re: google gprof replacement got - (wharris2) - (2)
                 You might have missed why I asked that... - (ben_tilly) - (1)
                     Ah, no I don't think that's it - (wharris2)
         Could the call be hidden within a macro? -NT - (ben_tilly)
         On the outside chance your system is RH 7.3... - (a6l6e6x) - (1)
             Nah - (wharris2)

We are the superior beings!
104 ms