Created
January 21, 2014 09:59
-
-
Save eamartin/8537371 to your computer and use it in GitHub Desktop.
Useful scripts for pintos bootloader assignment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target remote localhost:1234 | |
set architecture i8086 | |
break *0x7c00 | |
layout asm | |
layout reg | |
display/7i $pc - 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
pintos --gdb $* -- run alarm-zero > bl.log 2>&1 & | |
gdb -x ~/.local/gdb_bl_init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment