function! WhereAmI(fmt)
+ let fullpath = expand("%:p")
if a:fmt == "gnu"
- let where = expand("%:p") . ":" . line(".")
+ let where = fullpath . ":" . line(".")
elseif a:fmt == "lldb"
- let where = "breakpoint set --file " . expand('%:p') . " --line " . line(".")
+ let where = "breakpoint set --file " . fullpath . " --line " . line(".")
else
let where = "unknown fmt"
endif