summaryrefslogtreecommitdiff
path: root/regress/sys/arch/sparc64
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2004-08-05 11:39:38 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2004-08-05 11:39:38 +0000
commit3599e9fa7767714c865381b63ea18d5c55a57896 (patch)
tree52de52d14b52b56d991b8c8297395503c37dce7b /regress/sys/arch/sparc64
parent68e849a7ffd2c32a313ce1a77afcd3bf3185f30f (diff)
fix the perl to generate proper \n in the output.
Diffstat (limited to 'regress/sys/arch/sparc64')
-rw-r--r--regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl b/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
index 1de0e561f09..e8c771392dd 100644
--- a/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
+++ b/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $OpenBSD: genc.pl,v 1.3 2003/07/13 06:39:44 jason Exp $
+# $OpenBSD: genc.pl,v 1.4 2004/08/05 11:39:37 art Exp $
#
# Copyright (c) 2003 Jason L. Wright (jason@thought.net)
# All rights reserved.
@@ -61,18 +61,18 @@ dump_reg(union fpregs *fr)
printf("f%-2d:", i);
printf(" %08x", fr->f_reg32[i]);
if ((i & 3) == 3)
- printf("\n");
+ printf("\\n");
}
}
void
dump_regs(union fpregs *fr1, union fpregs *fr2, union fpregs *fr3)
{
- printf("BEFORE ASM\n");
+ printf("BEFORE ASM\\n");
dump_reg(fr1);
- printf("AFTER ASM\n");
+ printf("AFTER ASM\\n");
dump_reg(fr2);
- printf("MANUAL\n");
+ printf("MANUAL\\n");
dump_reg(fr3);
}