Initial implementation of ldd-mode.