/[qemu]/qemu/tests/test-i386.c
ViewVC logotype

Diff of /qemu/tests/test-i386.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by bellard, Wed Jun 25 16:21:11 2003 UTC revision 1.23 by bellard, Fri Jul 11 14:49:58 2003 UTC
# Line 1250  void test_exceptions(void) Line 1250  void test_exceptions(void)
1250      printf("PF exception:\n");      printf("PF exception:\n");
1251      if (setjmp(jmp_env) == 0) {      if (setjmp(jmp_env) == 0) {
1252          val = 1;          val = 1;
1253            /* we add a nop to test a weird PC retrieval case */
1254            asm volatile ("nop");
1255          /* now store in an invalid address */          /* now store in an invalid address */
1256          *(char *)0x1234 = 1;          *(char *)0x1234 = 1;
1257      }      }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26