07.12.2015, 10:42, "Demian Brecht" <demianbre...@gmail.com>: > Hi all, > > I'm attempting to debug the unixsock plugin using gdb on OSX Yosemite. I've > configured --enable-debug and when listing shared modules I get: > > (gdb) info shared > From To Syms Read Shared Object Library > 0x00000001000771a0 0x000000010007813d Yes /path/to/collectd/src/.libs/csv.so > 0x000000010007b580 0x0000000100080278 Yes > /path/to/collectd/src/.libs/unixsock.so > > However, when I try to set a breakpoint in unixsock.c, I get: > > (gdb) b us_init > Cannot access memory at address 0x1350 > > What am I missing? Is this something whack about debugging on OSX or am I > missing something obvious?
Have you signed your gdb? https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html man 1 codesign -- Regards, Konstantin _______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd