Changes

m
Line 103: Line 103:  
'''Unable to load source code when debugging using the provided GDB. It says, "No source files available".'''
 
'''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:
+
When after loading your ELF file, make sure to set a breakpoint at main(), then continue. The GDB will refresh with your source code.
# 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