Changes

m
Adding more fixes.
Line 100: Line 100:  
  source ~/.profile
 
  source ~/.profile
 
For WSL users, you need to close the Bash shell, then reopen it for WSL to reload all of the variables from a clean state.
 
For WSL users, you need to close the Bash shell, then reopen it for WSL to reload all of the variables from a clean state.
 +
 +
'''Unable to load source code when debugging using the provided GDB. It says, "No source files available".'''
 +
 +
When loading your ELF file, use the full file path, instead of relative path. For example:
 +
# This is incorrect:
 +
file test.elf
 +
# Use this instead:
 +
file /full/path/to/test.elf
 +
Source files should then be easily loaded after you set a breakpoint at main() and continue to run.
6

edits