# Constant part of the script symbol-file metalsvm.sym target remote localhost:1234 # Debugging 32bit code #set architecture i386 #break stublet #continue # Debugging 64bit code set architecture i386:x86-64 #break main # Set memory watchpoint #rwatch apic_mp # Debugging userspace #add-symbol-file newlib/examples/memtest.sym 0x40200000 #break main #continue # skip kernel main() continue