OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd9949
)
Fix fclose() emulation
author
nickc
<nickc>
Mon, 14 Feb 2000 19:49:48 +0000
(19:49 +0000)
committer
nickc
<nickc>
Mon, 14 Feb 2000 19:49:48 +0000
(19:49 +0000)
sim/mcore/ChangeLog
patch
|
blob
|
history
sim/mcore/interp.c
patch
|
blob
|
history
diff --git
a/sim/mcore/ChangeLog
b/sim/mcore/ChangeLog
index
0ded4fb
..
d2c5b58
100644
(file)
--- a/
sim/mcore/ChangeLog
+++ b/
sim/mcore/ChangeLog
@@
-1,3
+1,8
@@
+2000-02-14 Nick Clifton <nickc@cygnus.com>
+
+ * interp.c (handle_trap1): Fix handling of fclose system call.
+ Patch submitted by <drew.sarkisian@motorola.com>.
+
2000-02-10 Nick Clifton <nickc@cygnus.com>
* interp.c (target_big_endian): New variable.
diff --git
a/sim/mcore/interp.c
b/sim/mcore/interp.c
index
711326b
..
c1a39e7
100644
(file)
--- a/
sim/mcore/interp.c
+++ b/
sim/mcore/interp.c
@@
-545,7
+545,7
@@
handle_trap1 ()
break;
case 6:
- a[0] = (unsigned long) (cpu.gr[
4
]);
+ a[0] = (unsigned long) (cpu.gr[
PARM1
]);
/* Watch out for debugger's files. */
if (is_opened (a[0]))
{