debugoc: Pass logger in runGdb()

Otherwise we get undefined for logger.