fix parser issues; fix to work with std gdb on Mavericks