added note to userspace debugging with gdb (dont forget to add debug flags for newlib
!)
This commit is contained in:
parent
594a454b1f
commit
da54e953f9
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue