added note to userspace debugging with gdb (dont forget to add debug flags for newlib

!)
This commit is contained in:
Steffen Vogel 2014-01-09 14:10:02 +01:00
parent 594a454b1f
commit da54e953f9

View file

@ -1,5 +1,4 @@
# Constant part of the script
set disassembly-flavor intel
symbol-file metalsvm.sym
target remote localhost:1234
@ -9,6 +8,11 @@ target remote localhost:1234
#continue
# Debugging 64bit code
#set architecture i386:x86-64
set architecture i386:x86-64
# Debugging userspace
#add-symbol-file newlib/examples/memtest.sym 0x40200000
#break main
#continue # skip kernel main()
continue