lldb addkext changes?

I've been using lldb in quite a set way, generally just ^R search backwards and paste in the load address;


However, I find it no longer works with xcode8.


(lldb) addkext -F module/zfs/zfs.kext/Contents/MacOS/zfs 0xffffff7f9051b000
target modules add module/zfs/zfs.kext/Contents/MacOS/zfs
target modules load --file module/zfs/zfs.kext/Contents/MacOS/zfs --slide 0xffffff7f9051b000
ERROR:error: no object file for module 'module/zfs/zfs.kext/Contents/MacOS/zfs'
error: either the "--file <module>" or the "--uuid <uuid>" option must be specified.


[1]+  Stopped         
lldb /Library/Developer/KDKs/KDK_10.11.6_15G1004.kdk/System/Library/Kernels/kernel
# ls -l module/zfs/zfs.kext/Contents/MacOS/zfs
-rwxr-xr-x  1 lundman  admin  2858792 Sep 21 16:15 module/zfs/zfs.kext/Contents/MacOS/zfs


So I guess the "pwd" has now changed or something, odd, but I can live with that. I lets try supplying the full path instead;


(lldb) addkext -F /Users/lundman/src/zfs/osx.zfs/x/zfs/module/zfs/zfs.kext/Contents/MacOS/zfs 0xffffff7f9051b000
target modules add /Users/lundman/src/zfs/osx.zfs/x/zfs/module/zfs/zfs.kext/Contents/MacOS/zfs
target modules load --file /Users/lundman/src/zfs/osx.zfs/x/zfs/module/zfs/zfs.kext/Contents/MacOS/zfs --slide 0xffffff7f9051b000
ERROR:error: multiple modules match file=/Users/lundman/src/zfs/osx.zfs/x/zfs/module/zfs/zfs.kext/Contents/MacOS/zfs:


Multiple modules?


I'd like to believe I use addkext like the instructions say, so clearly there has been changes here.

Hmm actually, doing


target create --no-dependents --arch x86_64 module/zfs/zfs

kdp-remote ip.ip.ip.ip


ends up being much better way to load it, no need to fiddle with load addresses.

lldb addkext changes?
 
 
Q