2017-06-13 2 views

Antwort

0

Möglicherweise möchten Sie gdbpython ausprobieren:

while True: 
    gdb.execute("x/i $pc") # you can see the output on terminal 
    gdb.execute("stepi", to_string=True) # so that you cannot see its output 
    # some stop criteria here? 

Typ der GDB wie folgt aus:

python 
while True: 
    gdb.execute("x/i $pc") 
    gdb.execute("stepi", to_string=True) 
end 
Verwandte Themen