GNU gdb 5.0 This GDB was configured as "i686-pc-linux-gnu"... GCC 2.95 GNU ld 2.10.1 - All files are compiled with the '-g' option. - I would like to debug the file 'gphoto2' and need to load symbols from libgphoto2_canon.so. - I tried the following: ./gdb libgphoto2_canon.so (gdb) b canon_get_picture Breakpoint 1 at 0x3d36: file canon.c, line 536. (gdb) exec /usr/local/bin/gphoto2 (gdb) set args --camera "Canon PowerShot S100" --port usb --get-picture 1 (gdb) r Starting program: /usr/local/bin/gphoto2 --camera "Canon PowerShot S100" --port usb --get-picture 1 warning: Cannot insert breakpoint 1: Cannot access memory at address 0x3d36 (gdb) - Why can't I access memory? I also noticed this same problem when trying to step into the shared library. Any insight much appreciated. -- - Nick _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb