Re: Shared lib's help !

From: Andy Valencia <vandys_at_nospam.org>
Date: Tue Oct 27 1998 - 09:03:53 PST

[Yuriy <bett@dialup.ptt.ru> writes:]

>I wrote little program which calls this function and prints result
>(compilation flag -lmy) ...
>It returns 0 !?
>And GDB exites with 0...
>Help me please ! Were is my mistake ?

Looks like you're on the right track. How did you make it? It's important
that the stubs and *.shl's all be generated from a common invocation of
mkshlib. So did you add your library to SHLIBIN and SHLIBS in
src/lib/makefile?

Other than that, I'd say you need to use gdb's "stepi" and "x/i $pc" to see
where your execution has gone awry.

                                                        Andy
Received on Tue Oct 27 06:01:13 1998

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:55 PDT