Created
September 15, 2016 13:32
-
-
Save KevinKu/f9d859eade4d848dd084e2d0bc828c8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gdb | |
import string | |
class test_gdb_python_command(gdb.Command): | |
"test help" | |
def __init__(self): | |
super(test_gdb_python_command,self).__init__("test_gdb_python_command",gdb.COMMAND_USER) | |
def invoke(self,arg,from_tty): | |
print("gdb test") | |
test_gdb_python_command() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment