Get code_dump working on OS X

Issue #1189 new
Jez Ng
created an issue

From (bugs.pypy.org)

Comments (2)

  1. Caleb Hattingh

    I think this is already fixed for a long time, and should be closed.

    In today's master, viewcode.py uses a finder function for locating objdump:

    # rpython/jit/backend/tool/viewcode.py:30
    def find_objdump():
        exe = ('objdump', 'gobjdump', 'objdump.exe')
        path = os.environ['PATH'].split(os.pathsep)
        for e in exe:
            for p in path:
                path_to = os.path.join(p, e)
                if not os.path.exists(path_to):
                    continue
                return e
        raise ObjdumpNotFound('(g)objdump was not found in PATH')
    

    ping @Maciej Fijalkowski

  2. Log in to comment