2011-05-16 13:26:49 +02:00
|
|
|
# Constant part of the script
|
|
|
|
symbol-file metalsvm.sym
|
|
|
|
target remote localhost:1234
|
|
|
|
|
2013-10-16 15:13:04 +02:00
|
|
|
# Debugging 32bit code
|
|
|
|
#set architecture i386
|
|
|
|
#break stublet
|
|
|
|
#continue
|
|
|
|
|
|
|
|
# Debugging 64bit code
|
2014-01-09 14:10:02 +01:00
|
|
|
set architecture i386:x86-64
|
2014-01-09 15:20:22 +01:00
|
|
|
#break main
|
2014-01-09 14:10:02 +01:00
|
|
|
|
|
|
|
# Debugging userspace
|
|
|
|
#add-symbol-file newlib/examples/memtest.sym 0x40200000
|
2013-10-16 15:13:04 +02:00
|
|
|
#break main
|
2014-01-09 14:10:02 +01:00
|
|
|
#continue # skip kernel main()
|
|
|
|
|
2011-05-16 13:26:49 +02:00
|
|
|
continue
|