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?

Cheers,
Demian

-------
GPG Fingerprint: 9530 B4AF 551B F3CD A45C  476C D4E5 662D DB97 69E3

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to