UART and segfaults

[ Example 6 ]

gdb –args

for running the code: r

b for adding a break point to a line: b [line number]

for continuing execution to the next break point: c

p for printing a variable’s value: p [variable name]

s for setting (re?)-assigning a variable: s [variable name] = [value]

Screen Shot 2015-04-09 at 11.45.25 PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s