Added notes on saving an array from the target to a file.

jboone
2012-07-23 21:12:09 -07:00
parent d47024b49e
commit 469585a326

@@ -117,3 +117,12 @@ Soon, I should dump this stuff into a .gdbinit file...
break main # Set a breakpoint.
continue # Run to breakpoint.
continue # To continue from the breakpoint.
More GDB tips for the GDB-unfamiliar:
# Write the variable "buffer" (an array) to file "buffer.u8".
dump binary value buffer.u8 buffer
# Display the first 32 values in buffer whenever you halt
# execution.
display/32xh buffer