diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2014-04-29 18:52:56 -0700 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2014-04-29 18:52:56 -0700 |
commit | 75bc78fac86594abe89e76352701dc48e8352394 (patch) | |
tree | aefc96bf480f180ad0543d7cea02ecc90c6f43d4 | |
parent | d7e575c453c5ce6ad56f962c305571d5fd655de8 (diff) | |
download | pk-75bc78fac86594abe89e76352701dc48e8352394.zip pk-75bc78fac86594abe89e76352701dc48e8352394.tar.gz pk-75bc78fac86594abe89e76352701dc48e8352394.tar.bz2 |
PK now advances past breakpoint.
-rw-r--r-- | pk/handlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/handlers.c b/pk/handlers.c index 94a4127..ed499ad 100644 --- a/pk/handlers.c +++ b/pk/handlers.c @@ -61,6 +61,7 @@ static void handle_breakpoint(trapframe_t* tf) { dump_tf(tf); printk("Breakpoint!\n"); + tf->epc += 4; } static void handle_misaligned_fetch(trapframe_t* tf) |