On 09-Dec-1999, Ralf Comtesse <[EMAIL PROTECTED]> wrote:
> 
> I just try to use greencard from hugs98 on Linux. Is there any
> possibility to debug the shared library with my C code that runhugs
> includes. I use gcc and gdb for compiling and debugging. 
> 
> I tried to load runhugs and the *.so files in gdb and set a breakpoint.
> When runhugs is excecuted, I get 
> 
> Starting program: /usr/bin/runhugs98 /usr/bin/runhugs98
> warning: Cannot insert breakpoint 6:
> Cannot access memory at address 0xc68c.
> 
> (breakpoint 6 is in the shared library)

I think this is a general issue with gdb and shared libraries,
not specifically related to hugs96 or greencard.
Try setting a breakpoint on `main', doing `run',
and _then_ setting the breakpoint in the shared library.

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to