18 lines
344 B
Text
18 lines
344 B
Text
# 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
|
|
|
|
# Debugging userspace
|
|
#add-symbol-file newlib/examples/memtest.sym 0x40200000
|
|
#break main
|
|
#continue # skip kernel main()
|
|
|
|
continue
|