diff options
author | wiz <wiz> | 2001-02-20 11:33:52 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-02-20 11:33:52 +0000 |
commit | 2c0ceb8b905b775484d2b868d7caa73f8bd7a3f6 (patch) | |
tree | 388f41e62eefca38cfcb475dc1821c407ad2f4a6 /emulators/ia64sim/patches/patch-ad | |
parent | c0a2d8cafc94fad427fbf75e30f3d5ffd6beff82 (diff) | |
download | pkgsrc-2c0ceb8b905b775484d2b868d7caa73f8bd7a3f6.tar.gz |
Update to 0.3 because the distfile changed. Bugfixes and enhancements.
Diffstat (limited to 'emulators/ia64sim/patches/patch-ad')
-rw-r--r-- | emulators/ia64sim/patches/patch-ad | 60 |
1 files changed, 47 insertions, 13 deletions
diff --git a/emulators/ia64sim/patches/patch-ad b/emulators/ia64sim/patches/patch-ad index f84c0e8db92..70b42b7e30d 100644 --- a/emulators/ia64sim/patches/patch-ad +++ b/emulators/ia64sim/patches/patch-ad @@ -1,9 +1,9 @@ -$NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ +$NetBSD: patch-ad,v 1.3 2001/02/20 11:33:53 wiz Exp $ ---- ia64sim.c.orig Sun Dec 5 02:15:28 1999 -+++ ia64sim.c Fri Dec 10 15:55:16 1999 -@@ -95,7 +95,7 @@ - currslot = SLOT0; +--- ia64sim.c.orig Wed Mar 8 04:54:20 2000 ++++ ia64sim.c +@@ -98,7 +98,7 @@ + stop(); /* Clear pending register hazzards */ } else { - i1 = strtoll(first+1, &junk, 0); @@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ if(*junk) { printf("3syntax error\n"); return; -@@ -135,7 +135,7 @@ +@@ -138,7 +138,7 @@ } } else { @@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ if(*junk) { printf("6syntax error\n"); return; -@@ -156,7 +156,7 @@ +@@ -159,7 +159,7 @@ size2 = sizeof(uint64); } else { @@ -29,7 +29,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ if(*junk) { printf("7syntax error\n"); return; -@@ -197,7 +197,7 @@ +@@ -200,7 +200,7 @@ } } else { @@ -38,7 +38,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ if(*junk) { printf("Asyntax error\n"); return; -@@ -286,7 +286,7 @@ +@@ -289,7 +289,7 @@ base = strtok(NULL, tokens); if(base) { @@ -47,16 +47,50 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $ if(*junk) { printf("2syntax error\n"); return; -@@ -338,7 +338,7 @@ +@@ -355,7 +355,7 @@ + } + if(!second) base = 0; + else { +- base = strtoll(second, &junk, 0) & ~15; ++ base = strtoq(second, &junk, 0) & ~15; + if(*junk) { + printf("Invalid base address\n"); return; +@@ -397,7 +397,7 @@ } - + if(!second) base = 0; + else { - base = strtoll(second, &junk, 0) & ~15; + base = strtoq(second, &junk, 0) & ~15; if(*junk) { - printf("3syntax error\n"); + printf("Invalid base address\n"); + return; +@@ -436,13 +436,13 @@ return; -@@ -422,6 +422,9 @@ + } + +- base = strtoll(second, &junk, 0) & ~15; ++ base = strtoq(second, &junk, 0) & ~15; + if(*junk) { + printf("Invalid base address\n"); + return; + } + +- module_size = strtoll(third, &junk, 0) & ~15; ++ module_size = strtoq(third, &junk, 0) & ~15; + if(*junk) { + printf("Invalid length\n"); + return; +@@ -512,7 +512,7 @@ + printf("Break point address is required\n"); + return; + } +- break_address = strtoll(first,&junk,0) & ~15; ++ break_address = strtoq(first,&junk,0) & ~15; + if(*junk) { + printf("Invalid break point address\n"); + return; +@@ -556,6 +556,9 @@ while(1) { printf("IA64sim>> "); gets(cmd); |