Uploaded June 2018 | Updated September 2026, 2 weeks ago
Demonstrates how to run GDB in a cross-debugging session with an embedded Linux target to debug segmentation faults (SEG-Faults).
Embedded Linux device runs gdbserver, host runs gdb-multiarch. Commands demonstrated inculde:
- launching gdbserver and gdb-multiarch
- continue
- print
- break
- info args
- next
My guides to getting BeagleBone (Black/Green/...) working:
"Quick start": cs.sfu.ca/CourseCentral/433/bfraser/other/QuickStartGuide.pdf
List of guides: cs.sfu.ca/CourseCentral/433/bfraser/links.html
Demonstrates how to run GDB in a cross-debugging session with an embedded Linux target to debug segmentation faults (SEG-Faults).
Embedded Linux device runs gdbserver, host runs gdb-multiarch. Commands demonstrated inculde:
- launching gdbserver and gdb-multiarch
- continue
- break
- info args
- next
My guides to getting BeagleBone (Black/Green/...) working:
"Quick start": cs.sfu.ca/CourseCentral/433/bfraser/other/QuickStartGuide.pdf
List of guides: cs.sfu.ca/CourseCentral/433/bfraser/links.html
![Working with Layouts: Android Programming
Guide to working with relative and linear layouts for the Android.
UI with Layout
* Relative: Able to put things relative to each other.
- Really easy to mess-up UI, so only use a little.
- Put things in corners or middle.
* Linear: Horizontal or vertical
+ +
| [Button] [Button] [Button] |
+ +
* Why use a Layout?
- Better scaling to new screen sizes.
Demo:
Relative layout:
1. Activity with a relative layout.
2. Place some text in corners and middle.
3. Have 3 elements one-over next
Linear Layout;
1. Activity with linear layout.
2. Place text one over next
Both:
1. Activity with relative layout.
2. Add linear horizontal layout (centered)
3. Add text
Nested:
1. To previous, add vertical linear layout.
2. Add items to it.
Advice: Planning Layouts
- Identify what elements are group together; put them in Linear layouts. Working with Layouts: Android Programming](https://i.ytimg.com/vi/xn9KYnwIoBE/mqdefault.jpg)




