Subject: Re: Digital cameras (USB esp.) on NetBSD.
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Brett Lymn <blymn@baesystems.com.au>
List: netbsd-help
Date: 10/25/2000 15:22:15
According to Wolfgang Rupprecht:
>
>In theory gphoto2 talks to the camera's USB, or at least does when
>running that penguin OS.  I've tried gdb-ing my quick-n-dirty hack of
>gphoto2 to see why it doesn't work under NetBSD but gdb simply refuses
>to breakpoint dynamic libraries that are linked in at runtime via
>dlopen(). 
>

The trick to debugging the dynamic libraries is to put a breakpoint on
main(), run the program and then put the breakpoints into the dynamic
library routines you want to debug.  Just make sure you have compiled
all the libs with -g.

-- 
===============================================================================
Brett Lymn, Computer Systems Administrator, BAE SYSTEMS
===============================================================================