mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-22 09:04:58 +00:00
Fix fclose() emulation
This commit is contained in:
parent
e18ef0bde6
commit
3dfcd3c614
@ -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>
|
2000-02-10 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* interp.c (target_big_endian): New variable.
|
* interp.c (target_big_endian): New variable.
|
||||||
|
@ -545,7 +545,7 @@ handle_trap1 ()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 6:
|
case 6:
|
||||||
a[0] = (unsigned long) (cpu.gr[4]);
|
a[0] = (unsigned long) (cpu.gr[PARM1]);
|
||||||
/* Watch out for debugger's files. */
|
/* Watch out for debugger's files. */
|
||||||
if (is_opened (a[0]))
|
if (is_opened (a[0]))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user