metalsvm/script.gdb

23 lines
397 B
Text
Raw Permalink Normal View History

# 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
2014-02-18 13:13:10 +01:00
# Set memory watchpoint
#rwatch apic_mp
# Debugging userspace
#add-symbol-file newlib/examples/memtest.sym 0x40200000
#break main
#continue # skip kernel main()
continue