projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert Intel-style assembly back to AT&T-style.
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-bad-sp.c
diff --git
a/src/tests/userprog/sc-bad-sp.c
b/src/tests/userprog/sc-bad-sp.c
index 8c42298d7df40149e343cf326ef408cb262913fb..2ae20e96d01cd63b2f421feb1786af2fcb40f9db 100644
(file)
--- a/
src/tests/userprog/sc-bad-sp.c
+++ b/
src/tests/userprog/sc-bad-sp.c
@@
-4,6
+4,6
@@
void
test_main (void)
{
- asm volatile ("mov
%esp, 0x20101234; int
0x30");
+ asm volatile ("mov
l $0x20101234, %esp; int $
0x30");
fail ("should have called exit(-1)");
}