Remove hardcoded buildroot from kernel makefile and gdbinit

This commit is contained in:
2017-10-29 21:07:37 +01:00
parent 0f8d38938b
commit d7560b775c
2 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,11 @@
set prompt \033[31m(gdb) \033[0m
set disassembly-flavor intel
file /opt/sysroot/kernel
python
import os
gdb.execute('file ' + os.environ['BUILDROOT'] + 'sysroot/kernel')
end
target remote :1234
define q