> On Fri, 6 Jul 2001, Glen Coakley wrote:
> 
> > You can try
> > $ gdb perl
> > > load <shared_lib>
> > > break some_func
> > > run [args] script.pl [args]
> 
> I once spent a couple hours trying to get that working with an XS Perl
> module.  I utterly failed.  Perhaps you can do it and post a recipe?
> 
> This thread needs less hand-waving and more actual solutions!
> 
> -sam

I have preloaded .so files into gdb on Solaris but I don't recall if it was
by using LD_BIND_NOW or gdb's 'load'. Further, I was not trying to debug
perl and C. I was just debugging C++. YMMV 

If the problem was mine perhaps I would get it working and post a recipe.
But, even if it was my problem, I don't have time at the moment. I just know
that one piece of that is possible and thought that piece of information
might be helpful. I was not trying to do your work for you. If you find this
to be useless hand-waving then please forget you read the message/thread. 

________________________________
Glen Coakley, Sr. Software Engineer
MQSoftware Inc., (763) 543-4845
"Tinkero ergo sum." -- Chuck Murcko

Reply via email to