Skip to content

Instantly share code, notes, and snippets.

@ryansturmer
Created February 8, 2015 18:34
Show Gist options
  • Save ryansturmer/0304079d02aeff075b1b to your computer and use it in GitHub Desktop.
Save ryansturmer/0304079d02aeff075b1b to your computer and use it in GitHub Desktop.
gdb script to print out the state of the G2 motion buffer pool
set logging on
set logging file mb.txt
print &mb.bf[0]
print mb.bf[0]
print &mb.bf[1]
print mb.bf[1]
print &mb.bf[2]
print mb.bf[2]
print &mb.bf[3]
print mb.bf[3]
print &mb.bf[4]
print mb.bf[4]
print &mb.bf[5]
print mb.bf[5]
print &mb.bf[6]
print mb.bf[6]
print &mb.bf[7]
print mb.bf[7]
print &mb.bf[8]
print mb.bf[8]
print &mb.bf[9]
print mb.bf[9]
print &mb.bf[10]
print mb.bf[10]
print &mb.bf[11]
print mb.bf[11]
print &mb.bf[12]
print mb.bf[12]
print &mb.bf[13]
print mb.bf[13]
print &mb.bf[14]
print mb.bf[14]
print &mb.bf[15]
print mb.bf[15]
print &mb.bf[16]
print mb.bf[16]
print &mb.bf[17]
print mb.bf[17]
print &mb.bf[18]
print mb.bf[18]
print &mb.bf[19]
print mb.bf[19]
print &mb.bf[20]
print mb.bf[20]
print &mb.bf[21]
print mb.bf[21]
print &mb.bf[22]
print mb.bf[22]
print &mb.bf[23]
print mb.bf[23]
print &mb.bf[24]
print mb.bf[24]
print &mb.bf[25]
print mb.bf[25]
print &mb.bf[26]
print mb.bf[26]
print &mb.bf[27]
print mb.bf[27]
set logging off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment