medic: update to work with gdb on OS X Mavericks