1 # Tester script for the xdb functionality
2 # Run using gdb -P test-xdb.py <NORMAL GDB COMMAND LINE>
6 gdb
.execute ("file %s".format (sys
.argv
[0]))
7 gdb
.execute ("r --break *:* %s".format (" ".join (sys
.argv
[1:len (sys
.argv
)])))
11 if gdb
.threads () == None:
15 gdb
.execute("info args")
16 gdb
.execute("info locals")