Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@PyYoshi
Created May 23, 2011 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PyYoshi/986100 to your computer and use it in GitHub Desktop.
Save PyYoshi/986100 to your computer and use it in GitHub Desktop.
arm-eabi-objdump
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import system, name as osname, getcwd, chdir
from sys import path
from commands import getoutput
from popen2 import popen3
cdir = getcwd()
print cdir
#chdir()
print osname
cmd = cdir + '\\arm-eabi-objdump'
print popen3(cmd)
#print getoutput(cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment