'main` is C main function inside druntime. Your program entry point is _Dmain. You may also want to try git master built of gdb with Iain Buclaw patches for enhanced D support - those are awesome beyond imagination and, among other things, add support for D symbol (de)mangling :)